home *** CD-ROM | disk | FTP | other *** search
/ Inside Macintosh / Inside Macintosh CD-ROM_1995 (CD).toast / Books / PPC System Software < prev    next >
MacBinary  |  1994-08-11  |  3.6 MB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: PPC System Software

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Jun 27 12:30:43 1994, modified Thu Aug 11 03:17:14 1994, creator 'HLX2', type 'ONLN', 3709986 bytes "PPC System Software" , at 0x389ca2 64485 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 50 50 43 20 53 79 | 73 74 65 6d 20 53 6f 66 |..PPC Sy|stem Sof|
|00000010| 74 77 61 72 65 00 00 00 | 00 00 00 00 00 00 00 00 |tware...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 38 9c 22 00 | 00 fb e5 aa 34 af 33 aa |....8.".|....4.3.|
|00000060| 6f 80 fa 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |o.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c3 26 00 00 |........|.....&..|
|00000080| 49 4e 53 49 44 45 20 4d | 41 43 49 4e 54 4f 53 48 |INSIDE M|ACINTOSH|
|00000090| 0d 0d 0d 0d 50 6f 77 65 | 72 50 43 20 53 79 73 74 |....Powe|rPC Syst|
|000000a0| 65 6d 20 53 6f 66 74 77 | 61 72 65 0d f0 09 41 70 |em Softw|are...Ap|
|000000b0| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|000000c0| 63 2e 0d a9 20 31 39 39 | 34 20 41 70 70 6c 65 20 |c... 199|4 Apple |
|000000d0| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d 41 |Computer|, Inc..A|
|000000e0| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv|
|000000f0| 65 64 2e 20 0d 4e 6f 20 | 70 61 72 74 20 6f 66 20 |ed. .No |part of |
|00000100| 74 68 69 73 20 70 75 62 | 6c 69 63 61 74 69 6f 6e |this pub|lication|
|00000110| 20 6d 61 79 20 62 65 20 | 72 65 70 72 6f 64 75 63 | may be |reproduc|
|00000120| 65 64 2c 20 73 74 6f 72 | 65 64 20 69 6e 20 61 20 |ed, stor|ed in a |
|00000130| 72 65 74 72 69 65 76 61 | 6c 20 73 79 73 74 65 6d |retrieva|l system|
|00000140| 2c 20 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 65 64 |, or tra|nsmitted|
|00000150| 2c 20 69 6e 20 61 6e 79 | 20 66 6f 72 6d 20 6f 72 |, in any| form or|
|00000160| 20 62 79 20 61 6e 79 20 | 6d 65 61 6e 73 2c 20 6d | by any |means, m|
|00000170| 65 63 68 61 6e 69 63 61 | 6c 2c 20 65 6c 65 63 74 |echanica|l, elect|
|00000180| 72 6f 6e 69 63 2c 20 70 | 68 6f 74 6f 63 6f 70 79 |ronic, p|hotocopy|
|00000190| 69 6e 67 2c 20 72 65 63 | 6f 72 64 69 6e 67 2c 20 |ing, rec|ording, |
|000001a0| 6f 72 20 6f 74 68 65 72 | 77 69 73 65 2c 20 77 69 |or other|wise, wi|
|000001b0| 74 68 6f 75 74 20 70 72 | 69 6f 72 20 77 72 69 74 |thout pr|ior writ|
|000001c0| 74 65 6e 20 70 65 72 6d | 69 73 73 69 6f 6e 20 6f |ten perm|ission o|
|000001d0| 66 20 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |f Apple |Computer|
|000001e0| 2c 20 49 6e 63 2e 20 50 | 72 69 6e 74 65 64 20 69 |, Inc. P|rinted i|
|000001f0| 6e 20 74 68 65 20 55 6e | 69 74 65 64 20 53 74 61 |n the Un|ited Sta|
|00000200| 74 65 73 20 6f 66 20 41 | 6d 65 72 69 63 61 2e 0d |tes of A|merica..|
|00000210| 4e 6f 20 6c 69 63 65 6e | 73 65 73 2c 20 65 78 70 |No licen|ses, exp|
|00000220| 72 65 73 73 20 6f 72 20 | 69 6d 70 6c 69 65 64 2c |ress or |implied,|
|00000230| 20 61 72 65 20 67 72 61 | 6e 74 65 64 20 77 69 74 | are gra|nted wit|
|00000240| 68 20 72 65 73 70 65 63 | 74 20 74 6f 20 61 6e 79 |h respec|t to any|
|00000250| 20 6f 66 20 74 68 65 20 | 74 65 63 68 6e 6f 6c 6f | of the |technolo|
|00000260| 67 79 20 64 65 73 63 72 | 69 62 65 64 20 69 6e 20 |gy descr|ibed in |
|00000270| 74 68 69 73 20 62 6f 6f | 6b 2e 20 41 70 70 6c 65 |this boo|k. Apple|
|00000280| 20 72 65 74 61 69 6e 73 | 20 61 6c 6c 20 69 6e 74 | retains| all int|
|00000290| 65 6c 6c 65 63 74 75 61 | 6c 20 70 72 6f 70 65 72 |ellectua|l proper|
|000002a0| 74 79 20 72 69 67 68 74 | 73 20 61 73 73 6f 63 69 |ty right|s associ|
|000002b0| 61 74 65 64 20 77 69 74 | 68 20 74 68 65 20 74 65 |ated wit|h the te|
|000002c0| 63 68 6e 6f 6c 6f 67 79 | 20 64 65 73 63 72 69 62 |chnology| describ|
|000002d0| 65 64 20 69 6e 20 74 68 | 69 73 20 62 6f 6f 6b 2e |ed in th|is book.|
|000002e0| 20 54 68 69 73 20 62 6f | 6f 6b 20 69 73 20 69 6e | This bo|ok is in|
|000002f0| 74 65 6e 64 65 64 20 74 | 6f 20 61 73 73 69 73 74 |tended t|o assist|
|00000300| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 64 65 76 | applica|tion dev|
|00000310| 65 6c 6f 70 65 72 73 20 | 74 6f 20 64 65 76 65 6c |elopers |to devel|
|00000320| 6f 70 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |op appli|cations |
|00000330| 6f 6e 6c 79 20 66 6f 72 | 20 41 70 70 6c 65 20 4d |only for| Apple M|
|00000340| 61 63 69 6e 74 6f 73 68 | 20 63 6f 6d 70 75 74 65 |acintosh| compute|
|00000350| 72 73 2e 0d 45 76 65 72 | 79 20 65 66 66 6f 72 74 |rs..Ever|y effort|
|00000360| 20 68 61 73 20 62 65 65 | 6e 20 6d 61 64 65 20 74 | has bee|n made t|
|00000370| 6f 20 65 6e 73 75 72 65 | 20 74 68 61 74 20 74 68 |o ensure| that th|
|00000380| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 69 6e |e inform|ation in|
|00000390| 20 74 68 69 73 20 6d 61 | 6e 75 61 6c 20 69 73 20 | this ma|nual is |
|000003a0| 61 63 63 75 72 61 74 65 | 2e 20 41 70 70 6c 65 20 |accurate|. Apple |
|000003b0| 69 73 20 6e 6f 74 20 72 | 65 73 70 6f 6e 73 69 62 |is not r|esponsib|
|000003c0| 6c 65 20 66 6f 72 20 70 | 72 69 6e 74 69 6e 67 20 |le for p|rinting |
|000003d0| 6f 72 20 63 6c 65 72 69 | 63 61 6c 20 65 72 72 6f |or cleri|cal erro|
|000003e0| 72 73 2e 0d 41 70 70 6c | 65 20 43 6f 6d 70 75 74 |rs..Appl|e Comput|
|000003f0| 65 72 2c 20 49 6e 63 2e | 0d 32 30 35 32 35 20 4d |er, Inc.|.20525 M|
|00000400| 61 72 69 61 6e 69 20 41 | 76 65 6e 75 65 0d 43 75 |ariani A|venue.Cu|
|00000410| 70 65 72 74 69 6e 6f 2c | 20 43 41 20 39 35 30 31 |pertino,| CA 9501|
|00000420| 34 0d 34 30 38 2d 39 39 | 36 2d 31 30 31 30 0d 41 |4.408-99|6-1010.A|
|00000430| 70 70 6c 65 2c 20 74 68 | 65 20 41 70 70 6c 65 20 |pple, th|e Apple |
|00000440| 6c 6f 67 6f 2c 20 41 50 | 44 41 2c 20 41 70 70 6c |logo, AP|DA, Appl|
|00000450| 65 4c 69 6e 6b 2c 20 41 | 70 70 6c 65 53 68 61 72 |eLink, A|ppleShar|
|00000460| 65 2c 20 41 2f 55 58 2c | 20 48 79 70 65 72 43 61 |e, A/UX,| HyperCa|
|00000470| 72 64 2c 20 4c 61 73 65 | 72 57 72 69 74 65 72 2c |rd, Lase|rWriter,|
|00000480| 20 4d 61 63 69 6e 74 6f | 73 68 2c 20 4d 61 63 69 | Macinto|sh, Maci|
|00000490| 6e 74 6f 73 68 20 51 75 | 61 64 72 61 2c 20 4d 50 |ntosh Qu|adra, MP|
|000004a0| 57 2c 20 50 6f 77 65 72 | 42 6f 6f 6b 2c 20 61 6e |W, Power|Book, an|
|000004b0| 64 20 53 41 4e 45 20 61 | 72 65 20 74 72 61 64 65 |d SANE a|re trade|
|000004c0| 6d 61 72 6b 73 20 6f 66 | 20 41 70 70 6c 65 20 43 |marks of| Apple C|
|000004d0| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 2c 20 72 |omputer,| Inc., r|
|000004e0| 65 67 69 73 74 65 72 65 | 64 20 69 6e 20 74 68 65 |egistere|d in the|
|000004f0| 20 55 6e 69 74 65 64 20 | 53 74 61 74 65 73 20 61 | United |States a|
|00000500| 6e 64 20 6f 74 68 65 72 | 20 63 6f 75 6e 74 72 69 |nd other| countri|
|00000510| 65 73 2e 0d 46 69 6e 64 | 65 72 2c 20 4d 61 63 69 |es..Find|er, Maci|
|00000520| 6e 74 6f 73 68 20 43 65 | 6e 74 72 69 73 2c 20 51 |ntosh Ce|ntris, Q|
|00000530| 75 69 63 6b 44 72 61 77 | 2c 20 61 6e 64 20 51 75 |uickDraw|, and Qu|
|00000540| 69 63 6b 54 69 6d 65 20 | 61 72 65 20 74 72 61 64 |ickTime |are trad|
|00000550| 65 6d 61 72 6b 73 20 6f | 66 20 41 70 70 6c 65 20 |emarks o|f Apple |
|00000560| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d 41 |Computer|, Inc..A|
|00000570| 64 6f 62 65 20 49 6c 6c | 75 73 74 72 61 74 6f 72 |dobe Ill|ustrator|
|00000580| 20 61 6e 64 20 50 6f 73 | 74 53 63 72 69 70 74 20 | and Pos|tScript |
|00000590| 61 72 65 20 74 72 61 64 | 65 6d 61 72 6b 73 20 6f |are trad|emarks o|
|000005a0| 66 20 41 64 6f 62 65 20 | 53 79 73 74 65 6d 73 20 |f Adobe |Systems |
|000005b0| 49 6e 63 6f 72 70 6f 72 | 61 74 65 64 2c 20 77 68 |Incorpor|ated, wh|
|000005c0| 69 63 68 20 6d 61 79 20 | 62 65 20 72 65 67 69 73 |ich may |be regis|
|000005d0| 74 65 72 65 64 20 69 6e | 20 63 65 72 74 61 69 6e |tered in| certain|
|000005e0| 20 6a 75 72 69 73 64 69 | 63 74 69 6f 6e 73 2e 0d | jurisdi|ctions..|
|000005f0| 41 6d 65 72 69 63 61 20 | 4f 6e 6c 69 6e 65 20 69 |America |Online i|
|00000600| 73 20 61 20 73 65 72 76 | 69 63 65 20 6d 61 72 6b |s a serv|ice mark|
|00000610| 20 6f 66 20 51 75 61 6e | 74 75 6d 20 43 6f 6d 70 | of Quan|tum Comp|
|00000620| 75 74 65 72 20 53 65 72 | 76 69 63 65 73 2c 20 49 |uter Ser|vices, I|
|00000630| 6e 63 2e 0d 43 6c 61 73 | 73 69 63 20 69 73 20 61 |nc..Clas|sic is a|
|00000640| 20 72 65 67 69 73 74 65 | 72 65 64 20 74 72 61 64 | registe|red trad|
|00000650| 65 6d 61 72 6b 20 6c 69 | 63 65 6e 73 65 64 20 74 |emark li|censed t|
|00000660| 6f 20 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |o Apple |Computer|
|00000670| 2c 20 49 6e 63 2e 0d 43 | 6f 6d 70 75 53 65 72 76 |, Inc..C|ompuServ|
|00000680| 65 20 69 73 20 61 20 72 | 65 67 69 73 74 65 72 65 |e is a r|egistere|
|00000690| 64 20 73 65 72 76 69 63 | 65 20 6d 61 72 6b 20 6f |d servic|e mark o|
|000006a0| 66 20 43 6f 6d 70 75 53 | 65 72 76 65 2c 20 49 6e |f CompuS|erve, In|
|000006b0| 63 2e 0d 46 72 61 6d 65 | 4d 61 6b 65 72 20 69 73 |c..Frame|Maker is|
|000006c0| 20 61 20 72 65 67 69 73 | 74 65 72 65 64 20 74 72 | a regis|tered tr|
|000006d0| 61 64 65 6d 61 72 6b 20 | 6f 66 20 46 72 61 6d 65 |ademark |of Frame|
|000006e0| 20 54 65 63 68 6e 6f 6c | 6f 67 79 20 43 6f 72 70 | Technol|ogy Corp|
|000006f0| 6f 72 61 74 69 6f 6e 2e | 0d 48 65 6c 76 65 74 69 |oration.|.Helveti|
|00000700| 63 61 20 61 6e 64 20 50 | 61 6c 61 74 69 6e 6f 20 |ca and P|alatino |
|00000710| 61 72 65 20 72 65 67 69 | 73 74 65 72 65 64 20 74 |are regi|stered t|
|00000720| 72 61 64 65 6d 61 72 6b | 73 20 6f 66 20 4c 69 6e |rademark|s of Lin|
|00000730| 6f 74 79 70 65 20 43 6f | 6d 70 61 6e 79 2e 0d 49 |otype Co|mpany..I|
|00000740| 6e 74 65 72 6e 65 74 20 | 69 73 20 61 20 74 72 61 |nternet |is a tra|
|00000750| 64 65 6d 61 72 6b 20 6f | 66 20 44 69 67 69 74 61 |demark o|f Digita|
|00000760| 6c 20 45 71 75 69 70 6d | 65 6e 74 20 43 6f 72 70 |l Equipm|ent Corp|
|00000770| 6f 72 61 74 69 6f 6e 2e | 0d 49 54 43 20 5a 61 70 |oration.|.ITC Zap|
|00000780| 66 20 44 69 6e 67 62 61 | 74 73 20 69 73 20 61 20 |f Dingba|ts is a |
|00000790| 72 65 67 69 73 74 65 72 | 65 64 20 74 72 61 64 65 |register|ed trade|
|000007a0| 6d 61 72 6b 20 6f 66 20 | 49 6e 74 65 72 6e 61 74 |mark of |Internat|
|000007b0| 69 6f 6e 61 6c 20 54 79 | 70 65 66 61 63 65 20 43 |ional Ty|peface C|
|000007c0| 6f 72 70 6f 72 61 74 69 | 6f 6e 2e 0d 4d 6f 74 6f |orporati|on..Moto|
|000007d0| 72 6f 6c 61 20 69 73 20 | 61 20 72 65 67 69 73 74 |rola is |a regist|
|000007e0| 65 72 65 64 20 74 72 61 | 64 65 6d 61 72 6b 20 6f |ered tra|demark o|
|000007f0| 66 20 4d 6f 74 6f 72 6f | 6c 61 20 43 6f 72 70 6f |f Motoro|la Corpo|
|00000800| 72 61 74 69 6f 6e 2e 0d | 4f 70 74 72 6f 74 65 63 |ration..|Optrotec|
|00000810| 68 20 69 73 20 61 20 74 | 72 61 64 65 6d 61 72 6b |h is a t|rademark|
|00000820| 20 6f 66 20 4f 72 62 6f | 74 65 63 68 20 43 6f 72 | of Orbo|tech Cor|
|00000830| 70 6f 72 61 74 69 6f 6e | 2e 0d 50 6f 77 65 72 50 |poration|..PowerP|
|00000840| 43 20 69 73 20 61 20 74 | 72 61 64 65 6d 61 72 6b |C is a t|rademark|
|00000850| 20 6f 66 20 49 6e 74 65 | 72 6e 61 74 69 6f 6e 61 | of Inte|rnationa|
|00000860| 6c 20 42 75 73 69 6e 65 | 73 73 20 4d 61 63 68 69 |l Busine|ss Machi|
|00000870| 6e 65 73 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2e |nes Corp|oration.|
|00000880| 0d 54 48 49 4e 4b 20 43 | 20 69 73 20 61 20 74 72 |.THINK C| is a tr|
|00000890| 61 64 65 6d 61 72 6b 20 | 6f 66 20 53 79 6d 61 6e |ademark |of Syman|
|000008a0| 74 65 63 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2e |tec Corp|oration.|
|000008b0| 0d 55 4e 49 58 20 69 73 | 20 61 20 72 65 67 69 73 |.UNIX is| a regis|
|000008c0| 74 65 72 65 64 20 74 72 | 61 64 65 6d 61 72 6b 20 |tered tr|ademark |
|000008d0| 6f 66 20 55 4e 49 58 20 | 53 79 73 74 65 6d 20 4c |of UNIX |System L|
|000008e0| 61 62 6f 72 61 74 6f 72 | 69 65 73 2c 20 49 6e 63 |aborator|ies, Inc|
|000008f0| 2e 0d 53 69 6d 75 6c 74 | 61 6e 65 6f 75 73 6c 79 |..Simult|aneously|
|00000900| 20 70 75 62 6c 69 73 68 | 65 64 20 69 6e 20 74 68 | publish|ed in th|
|00000910| 65 20 55 6e 69 74 65 64 | 20 53 74 61 74 65 73 20 |e United| States |
|00000920| 61 6e 64 20 43 61 6e 61 | 64 61 2e 0d 4c 49 4d 49 |and Cana|da..LIMI|
|00000930| 54 45 44 20 57 41 52 52 | 41 4e 54 59 20 4f 4e 20 |TED WARR|ANTY ON |
|00000940| 4d 45 44 49 41 20 41 4e | 44 20 52 45 50 4c 41 43 |MEDIA AN|D REPLAC|
|00000950| 45 4d 45 4e 54 0d 41 4c | 4c 20 49 4d 50 4c 49 45 |EMENT.AL|L IMPLIE|
|00000960| 44 20 57 41 52 52 41 4e | 54 49 45 53 20 4f 4e 20 |D WARRAN|TIES ON |
|00000970| 54 48 49 53 20 4d 41 4e | 55 41 4c 2c 20 49 4e 43 |THIS MAN|UAL, INC|
|00000980| 4c 55 44 49 4e 47 20 49 | 4d 50 4c 49 45 44 20 57 |LUDING I|MPLIED W|
|00000990| 41 52 52 41 4e 54 49 45 | 53 20 4f 46 20 4d 45 52 |ARRANTIE|S OF MER|
|000009a0| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 41 4e 44 |CHANTABI|LITY AND|
|000009b0| 20 46 49 54 4e 45 53 53 | 20 46 4f 52 20 41 20 50 | FITNESS| FOR A P|
|000009c0| 41 52 54 49 43 55 4c 41 | 52 20 50 55 52 50 4f 53 |ARTICULA|R PURPOS|
|000009d0| 45 2c 20 41 52 45 20 4c | 49 4d 49 54 45 44 20 49 |E, ARE L|IMITED I|
|000009e0| 4e 20 44 55 52 41 54 49 | 4f 4e 20 54 4f 20 4e 49 |N DURATI|ON TO NI|
|000009f0| 4e 45 54 59 20 28 39 30 | 29 20 44 41 59 53 20 46 |NETY (90|) DAYS F|
|00000a00| 52 4f 4d 20 54 48 45 20 | 44 41 54 45 20 4f 46 20 |ROM THE |DATE OF |
|00000a10| 54 48 45 20 4f 52 49 47 | 49 4e 41 4c 20 52 45 54 |THE ORIG|INAL RET|
|00000a20| 41 49 4c 20 50 55 52 43 | 48 41 53 45 20 4f 46 20 |AIL PURC|HASE OF |
|00000a30| 54 48 49 53 20 50 52 4f | 44 55 43 54 2e 0d 45 76 |THIS PRO|DUCT..Ev|
|00000a40| 65 6e 20 74 68 6f 75 67 | 68 20 41 70 70 6c 65 20 |en thoug|h Apple |
|00000a50| 68 61 73 20 72 65 76 69 | 65 77 65 64 20 74 68 69 |has revi|ewed thi|
|00000a60| 73 20 6d 61 6e 75 61 6c | 2c 20 41 50 50 4c 45 20 |s manual|, APPLE |
|00000a70| 4d 41 4b 45 53 20 4e 4f | 20 57 41 52 52 41 4e 54 |MAKES NO| WARRANT|
|00000a80| 59 20 4f 52 20 52 45 50 | 52 45 53 45 4e 54 41 54 |Y OR REP|RESENTAT|
|00000a90| 49 4f 4e 2c 20 45 49 54 | 48 45 52 20 45 58 50 52 |ION, EIT|HER EXPR|
|00000aa0| 45 53 53 20 4f 52 20 49 | 4d 50 4c 49 45 44 2c 20 |ESS OR I|MPLIED, |
|00000ab0| 57 49 54 48 20 52 45 53 | 50 45 43 54 20 54 4f 20 |WITH RES|PECT TO |
|00000ac0| 54 48 49 53 20 4d 41 4e | 55 41 4c 2c 20 49 54 53 |THIS MAN|UAL, ITS|
|00000ad0| 20 51 55 41 4c 49 54 59 | 2c 20 41 43 43 55 52 41 | QUALITY|, ACCURA|
|00000ae0| 43 59 2c 20 4d 45 52 43 | 48 41 4e 54 41 42 49 4c |CY, MERC|HANTABIL|
|00000af0| 49 54 59 2c 20 4f 52 20 | 46 49 54 4e 45 53 53 20 |ITY, OR |FITNESS |
|00000b00| 46 4f 52 20 41 20 50 41 | 52 54 49 43 55 4c 41 52 |FOR A PA|RTICULAR|
|00000b10| 20 50 55 52 50 4f 53 45 | 2e 20 41 53 20 41 20 52 | PURPOSE|. AS A R|
|00000b20| 45 53 55 4c 54 2c 20 54 | 48 49 53 20 4d 41 4e 55 |ESULT, T|HIS MANU|
|00000b30| 41 4c 20 49 53 20 53 4f | 4c 44 20 d2 41 53 20 49 |AL IS SO|LD .AS I|
|00000b40| 53 2c d3 20 41 4e 44 20 | 59 4f 55 2c 20 54 48 45 |S,. AND |YOU, THE|
|00000b50| 20 50 55 52 43 48 41 53 | 45 52 2c 20 41 52 45 20 | PURCHAS|ER, ARE |
|00000b60| 41 53 53 55 4d 49 4e 47 | 20 54 48 45 20 45 4e 54 |ASSUMING| THE ENT|
|00000b70| 49 52 45 20 52 49 53 4b | 20 41 53 20 54 4f 20 49 |IRE RISK| AS TO I|
|00000b80| 54 53 20 51 55 41 4c 49 | 54 59 20 41 4e 44 20 41 |TS QUALI|TY AND A|
|00000b90| 43 43 55 52 41 43 59 2e | 0d 49 4e 20 4e 4f 20 45 |CCURACY.|.IN NO E|
|00000ba0| 56 45 4e 54 20 57 49 4c | 4c 20 41 50 50 4c 45 20 |VENT WIL|L APPLE |
|00000bb0| 42 45 20 4c 49 41 42 4c | 45 20 46 4f 52 20 44 49 |BE LIABL|E FOR DI|
|00000bc0| 52 45 43 54 2c 20 49 4e | 44 49 52 45 43 54 2c 20 |RECT, IN|DIRECT, |
|00000bd0| 53 50 45 43 49 41 4c 2c | 20 49 4e 43 49 44 45 4e |SPECIAL,| INCIDEN|
|00000be0| 54 41 4c 2c 20 4f 52 20 | 43 4f 4e 53 45 51 55 45 |TAL, OR |CONSEQUE|
|00000bf0| 4e 54 49 41 4c 20 44 41 | 4d 41 47 45 53 20 52 45 |NTIAL DA|MAGES RE|
|00000c00| 53 55 4c 54 49 4e 47 20 | 46 52 4f 4d 20 41 4e 59 |SULTING |FROM ANY|
|00000c10| 20 44 45 46 45 43 54 20 | 4f 52 20 49 4e 41 43 43 | DEFECT |OR INACC|
|00000c20| 55 52 41 43 59 20 49 4e | 20 54 48 49 53 20 4d 41 |URACY IN| THIS MA|
|00000c30| 4e 55 41 4c 2c 20 65 76 | 65 6e 20 69 66 20 61 64 |NUAL, ev|en if ad|
|00000c40| 76 69 73 65 64 20 6f 66 | 20 74 68 65 20 70 6f 73 |vised of| the pos|
|00000c50| 73 69 62 69 6c 69 74 79 | 20 6f 66 20 73 75 63 68 |sibility| of such|
|00000c60| 20 64 61 6d 61 67 65 73 | 2e 0d 54 48 45 20 57 41 | damages|..THE WA|
|00000c70| 52 52 41 4e 54 59 20 41 | 4e 44 20 52 45 4d 45 44 |RRANTY A|ND REMED|
|00000c80| 49 45 53 20 53 45 54 20 | 46 4f 52 54 48 20 41 42 |IES SET |FORTH AB|
|00000c90| 4f 56 45 20 41 52 45 20 | 45 58 43 4c 55 53 49 56 |OVE ARE |EXCLUSIV|
|00000ca0| 45 20 41 4e 44 20 0d 49 | 4e 20 4c 49 45 55 20 4f |E AND .I|N LIEU O|
|00000cb0| 46 20 41 4c 4c 20 4f 54 | 48 45 52 53 2c 20 4f 52 |F ALL OT|HERS, OR|
|00000cc0| 41 4c 20 4f 52 20 57 52 | 49 54 54 45 4e 2c 20 45 |AL OR WR|ITTEN, E|
|00000cd0| 58 50 52 45 53 53 20 4f | 52 20 49 4d 50 4c 49 45 |XPRESS O|R IMPLIE|
|00000ce0| 44 2e 20 4e 6f 20 41 70 | 70 6c 65 20 64 65 61 6c |D. No Ap|ple deal|
|00000cf0| 65 72 2c 20 61 67 65 6e | 74 2c 20 6f 72 20 65 6d |er, agen|t, or em|
|00000d00| 70 6c 6f 79 65 65 20 69 | 73 20 61 75 74 68 6f 72 |ployee i|s author|
|00000d10| 69 7a 65 64 20 74 6f 20 | 6d 61 6b 65 20 61 6e 79 |ized to |make any|
|00000d20| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 2c 20 65 | modific|ation, e|
|00000d30| 78 74 65 6e 73 69 6f 6e | 2c 20 6f 72 20 61 64 64 |xtension|, or add|
|00000d40| 69 74 69 6f 6e 20 74 6f | 20 74 68 69 73 20 77 61 |ition to| this wa|
|00000d50| 72 72 61 6e 74 79 2e 0d | 53 6f 6d 65 20 73 74 61 |rranty..|Some sta|
|00000d60| 74 65 73 20 64 6f 20 6e | 6f 74 20 61 6c 6c 6f 77 |tes do n|ot allow|
|00000d70| 20 74 68 65 20 65 78 63 | 6c 75 73 69 6f 6e 20 6f | the exc|lusion o|
|00000d80| 72 20 6c 69 6d 69 74 61 | 74 69 6f 6e 20 6f 66 20 |r limita|tion of |
|00000d90| 69 6d 70 6c 69 65 64 20 | 77 61 72 72 61 6e 74 69 |implied |warranti|
|00000da0| 65 73 20 6f 72 20 6c 69 | 61 62 69 6c 69 74 79 20 |es or li|ability |
|00000db0| 66 6f 72 20 69 6e 63 69 | 64 65 6e 74 61 6c 20 6f |for inci|dental o|
|00000dc0| 72 20 63 6f 6e 73 65 71 | 75 65 6e 74 69 61 6c 20 |r conseq|uential |
|00000dd0| 64 61 6d 61 67 65 73 2c | 20 0d 73 6f 20 74 68 65 |damages,| .so the|
|00000de0| 20 61 62 6f 76 65 20 6c | 69 6d 69 74 61 74 69 6f | above l|imitatio|
|00000df0| 6e 20 6f 72 20 65 78 63 | 6c 75 73 69 6f 6e 20 6d |n or exc|lusion m|
|00000e00| 61 79 20 0d 6e 6f 74 20 | 61 70 70 6c 79 20 74 6f |ay .not |apply to|
|00000e10| 20 79 6f 75 2e 20 54 68 | 69 73 20 77 61 72 72 61 | you. Th|is warra|
|00000e20| 6e 74 79 20 67 69 76 65 | 73 20 79 6f 75 20 73 70 |nty give|s you sp|
|00000e30| 65 63 69 66 69 63 20 6c | 65 67 61 6c 20 72 69 67 |ecific l|egal rig|
|00000e40| 68 74 73 2c 20 61 6e 64 | 20 79 6f 75 20 6d 61 79 |hts, and| you may|
|00000e50| 20 61 6c 73 6f 20 68 61 | 76 65 20 6f 74 68 65 72 | also ha|ve other|
|00000e60| 20 72 69 67 68 74 73 20 | 77 68 69 63 68 20 76 61 | rights |which va|
|00000e70| 72 79 20 66 72 6f 6d 20 | 73 74 61 74 65 20 74 6f |ry from |state to|
|00000e80| 20 73 74 61 74 65 2e 0d | 49 53 42 4e 20 30 2d 32 | state..|ISBN 0-2|
|00000e90| 30 31 2d 34 30 37 32 37 | 2d 32 0d 31 20 32 20 33 |01-40727|-2.1 2 3|
|00000ea0| 20 34 20 35 20 36 20 37 | 20 38 20 39 2d 43 52 57 | 4 5 6 7| 8 9-CRW|
|00000eb0| 2d 39 38 39 37 39 36 39 | 35 39 34 0d 46 69 72 73 |-9897969|594.Firs|
|00000ec0| 74 20 50 72 69 6e 74 69 | 6e 67 2c 20 46 65 62 72 |t Printi|ng, Febr|
|00000ed0| 75 61 72 79 20 31 39 39 | 34 0d 4c 69 62 72 61 72 |uary 199|4.Librar|
|00000ee0| 79 20 6f 66 20 43 6f 6e | 67 72 65 73 73 20 43 61 |y of Con|gress Ca|
|00000ef0| 74 61 6c 6f 67 69 6e 67 | 2d 69 6e 2d 50 75 62 6c |taloging|-in-Publ|
|00000f00| 69 63 61 74 69 6f 6e 20 | 44 61 74 61 0d 49 6e 73 |ication |Data.Ins|
|00000f10| 69 64 65 20 4d 61 63 69 | 6e 74 6f 73 68 2e 20 50 |ide Maci|ntosh. P|
|00000f20| 6f 77 65 72 50 43 20 73 | 79 73 74 65 6d 20 73 6f |owerPC s|ystem so|
|00000f30| 66 74 77 61 72 65 20 2f | 20 41 70 70 6c 65 20 43 |ftware /| Apple C|
|00000f40| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 09 70 |omputer,| Inc...p|
|00000f50| 2e 14 63 6d 2e 0d 49 6e | 63 6c 75 64 65 73 20 69 |..cm..In|cludes i|
|00000f60| 6e 64 65 78 2e 0d 49 53 | 42 4e 20 30 2d 32 30 31 |ndex..IS|BN 0-201|
|00000f70| 2d 34 30 37 32 37 2d 32 | 0d 31 2e 20 4d 61 63 69 |-40727-2|.1. Maci|
|00000f80| 6e 74 6f 73 68 20 28 43 | 6f 6d 70 75 74 65 72 29 |ntosh (C|omputer)|
|00000f90| 14 32 2e 20 50 6f 77 65 | 72 50 43 20 28 4d 69 63 |.2. Powe|rPC (Mic|
|00000fa0| 72 6f 70 72 6f 63 65 73 | 73 6f 72 29 14 33 2e 20 |roproces|sor).3. |
|00000fb0| 53 79 73 74 65 6d 73 0d | 73 6f 66 74 77 61 72 65 |Systems.|software|
|00000fc0| 2e 14 49 2e 20 54 69 74 | 6c 65 3a 20 50 6f 77 65 |..I. Tit|le: Powe|
|00000fd0| 72 50 43 20 73 79 73 74 | 65 6d 20 73 6f 66 74 77 |rPC syst|em softw|
|00000fe0| 61 72 65 2e 0d 51 41 37 | 36 2e 38 2e 4d 33 49 35 |are..QA7|6.8.M3I5|
|00000ff0| 32 38 14 31 39 39 34 0d | 30 30 35 2e 34 27 34 36 |28.1994.|005.4'46|
|00001000| 39 d1 64 63 32 30 09 39 | 33 2d 35 30 31 38 32 0d |9.dc20.9|3-50182.|
|00001010| 43 49 50 0d 43 6f 6e 74 | 65 6e 74 73 0d 46 69 67 |CIP.Cont|ents.Fig|
|00001020| 75 72 65 73 2c 20 54 61 | 62 6c 65 73 2c 20 61 6e |ures, Ta|bles, an|
|00001030| 64 20 4c 69 73 74 69 6e | 67 73 14 14 76 69 69 0d |d Listin|gs..vii.|
|00001040| 0d 0d 50 72 65 66 61 63 | 65 09 41 62 6f 75 74 20 |..Prefac|e.About |
|00001050| 54 68 69 73 20 42 6f 6f | 6b 14 14 69 78 0d 0d 52 |This Boo|k..ix..R|
|00001060| 65 6c 61 74 65 64 20 44 | 6f 63 75 6d 65 6e 74 61 |elated D|ocumenta|
|00001070| 74 69 6f 6e 14 14 78 69 | 0d 46 6f 72 6d 61 74 20 |tion..xi|.Format |
|00001080| 6f 66 20 61 20 54 79 70 | 69 63 61 6c 20 43 68 61 |of a Typ|ical Cha|
|00001090| 70 74 65 72 14 14 78 69 | 0d 43 6f 6e 76 65 6e 74 |pter..xi|.Convent|
|000010a0| 69 6f 6e 73 20 55 73 65 | 64 20 69 6e 20 54 68 69 |ions Use|d in Thi|
|000010b0| 73 20 42 6f 6f 6b 14 14 | 78 69 69 0d 53 70 65 63 |s Book..|xii.Spec|
|000010c0| 69 61 6c 20 46 6f 6e 74 | 73 14 14 78 69 69 0d 54 |ial Font|s..xii.T|
|000010d0| 79 70 65 73 20 6f 66 20 | 4e 6f 74 65 73 14 14 78 |ypes of |Notes..x|
|000010e0| 69 69 0d 42 69 74 20 4e | 75 6d 62 65 72 69 6e 67 |ii.Bit N|umbering|
|000010f0| 20 61 6e 64 20 57 6f 72 | 64 20 53 69 7a 65 14 14 | and Wor|d Size..|
|00001100| 78 69 69 0d 41 73 73 65 | 6d 62 6c 79 2d 4c 61 6e |xii.Asse|mbly-Lan|
|00001110| 67 75 61 67 65 20 49 6e | 66 6f 72 6d 61 74 69 6f |guage In|formatio|
|00001120| 6e 14 14 78 69 76 0d 44 | 65 76 65 6c 6f 70 6d 65 |n..xiv.D|evelopme|
|00001130| 6e 74 20 45 6e 76 69 72 | 6f 6e 6d 65 6e 74 14 14 |nt Envir|onment..|
|00001140| 78 69 76 0d 46 6f 72 20 | 4d 6f 72 65 20 49 6e 66 |xiv.For |More Inf|
|00001150| 6f 72 6d 61 74 69 6f 6e | 14 14 78 76 0d 0d 43 68 |ormation|..xv..Ch|
|00001160| 61 70 74 65 72 20 31 09 | 49 6e 74 72 6f 64 75 63 |apter 1.|Introduc|
|00001170| 74 69 6f 6e 20 74 6f 20 | 50 6f 77 65 72 50 43 20 |tion to |PowerPC |
|00001180| 53 79 73 74 65 6d 20 53 | 6f 66 74 77 61 72 65 14 |System S|oftware.|
|00001190| 14 31 2d 31 0d 0d 4f 76 | 65 72 76 69 65 77 20 6f |.1-1..Ov|erview o|
|000011a0| 66 20 74 68 65 20 50 6f | 77 65 72 50 43 20 53 79 |f the Po|werPC Sy|
|000011b0| 73 74 65 6d 20 53 6f 66 | 74 77 61 72 65 14 14 31 |stem Sof|tware..1|
|000011c0| 2d 34 0d 54 68 65 20 36 | 38 4c 43 30 34 30 20 45 |-4.The 6|8LC040 E|
|000011d0| 6d 75 6c 61 74 6f 72 14 | 14 31 2d 36 0d 45 6d 75 |mulator.|.1-6.Emu|
|000011e0| 6c 61 74 6f 72 20 4f 70 | 65 72 61 74 69 6f 6e 14 |lator Op|eration.|
|000011f0| 14 31 2d 37 0d 45 6d 75 | 6c 61 74 6f 72 20 4c 69 |.1-7.Emu|lator Li|
|00001200| 6d 69 74 61 74 69 6f 6e | 73 14 14 31 2d 38 0d 43 |mitation|s..1-8.C|
|00001210| 6f 70 72 6f 63 65 73 73 | 6f 72 73 14 14 31 2d 39 |oprocess|ors..1-9|
|00001220| 0d 49 6e 73 74 72 75 63 | 74 69 6f 6e 20 54 69 6d |.Instruc|tion Tim|
|00001230| 69 6e 67 73 14 14 31 2d | 39 0d 44 65 6c 65 74 65 |ings..1-|9.Delete|
|00001240| 64 20 49 6e 73 74 72 75 | 63 74 69 6f 6e 73 14 14 |d Instru|ctions..|
|00001250| 31 2d 39 0d 55 6e 73 75 | 70 70 6f 72 74 65 64 20 |1-9.Unsu|pported |
|00001260| 49 6e 73 74 72 75 63 74 | 69 6f 6e 20 46 65 61 74 |Instruct|ion Feat|
|00001270| 75 72 65 73 14 14 31 2d | 31 30 0d 49 6e 73 74 72 |ures..1-|10.Instr|
|00001280| 75 63 74 69 6f 6e 20 43 | 61 63 68 65 73 14 14 31 |uction C|aches..1|
|00001290| 2d 31 30 0d 41 64 64 72 | 65 73 73 20 45 72 72 6f |-10.Addr|ess Erro|
|000012a0| 72 20 45 78 63 65 70 74 | 69 6f 6e 73 14 14 31 2d |r Except|ions..1-|
|000012b0| 31 30 0d 42 75 73 20 45 | 72 72 6f 72 20 45 78 63 |10.Bus E|rror Exc|
|000012c0| 65 70 74 69 6f 6e 73 14 | 14 31 2d 31 31 0d 4d 65 |eptions.|.1-11.Me|
|000012d0| 6d 6f 72 79 2d 4d 61 70 | 70 65 64 20 49 2f 4f 20 |mory-Map|ped I/O |
|000012e0| 4c 6f 63 61 74 69 6f 6e | 73 14 14 31 2d 31 31 0d |Location|s..1-11.|
|000012f0| 4d 69 78 65 64 20 4d 6f | 64 65 14 14 31 2d 31 33 |Mixed Mo|de..1-13|
|00001300| 0d 43 72 6f 73 73 2d 4d | 6f 64 65 20 43 61 6c 6c |.Cross-M|ode Call|
|00001310| 73 14 14 31 2d 31 34 0d | 52 6f 75 74 69 6e 65 20 |s..1-14.|Routine |
|00001320| 44 65 73 63 72 69 70 74 | 6f 72 73 14 14 31 2d 31 |Descript|ors..1-1|
|00001330| 35 0d 4d 65 6d 6f 72 79 | 20 43 6f 6e 73 69 64 65 |5.Memory| Conside|
|00001340| 72 61 74 69 6f 6e 73 14 | 14 31 2d 31 39 0d 54 68 |rations.|.1-19.Th|
|00001350| 65 20 50 6f 77 65 72 50 | 43 20 4e 61 74 69 76 65 |e PowerP|C Native|
|00001360| 20 45 6e 76 69 72 6f 6e | 6d 65 6e 74 14 14 31 2d | Environ|ment..1-|
|00001370| 31 39 0d 46 72 61 67 6d | 65 6e 74 73 14 14 31 2d |19.Fragm|ents..1-|
|00001380| 32 30 0d 54 68 65 20 53 | 74 72 75 63 74 75 72 65 |20.The S|tructure|
|00001390| 20 6f 66 20 46 72 61 67 | 6d 65 6e 74 73 14 14 31 | of Frag|ments..1|
|000013a0| 2d 32 32 0d 49 6d 70 6f | 72 74 73 20 61 6e 64 20 |-22.Impo|rts and |
|000013b0| 45 78 70 6f 72 74 73 14 | 14 31 2d 32 33 0d 54 68 |Exports.|.1-23.Th|
|000013c0| 65 20 54 61 62 6c 65 20 | 6f 66 20 43 6f 6e 74 65 |e Table |of Conte|
|000013d0| 6e 74 73 14 14 31 2d 32 | 36 0d 53 70 65 63 69 61 |nts..1-2|6.Specia|
|000013e0| 6c 20 52 6f 75 74 69 6e | 65 73 14 14 31 2d 32 39 |l Routin|es..1-29|
|000013f0| 0d 46 72 61 67 6d 65 6e | 74 20 53 74 6f 72 61 67 |.Fragmen|t Storag|
|00001400| 65 14 14 31 2d 33 30 0d | 45 78 65 63 75 74 61 62 |e..1-30.|Executab|
|00001410| 6c 65 20 52 65 73 6f 75 | 72 63 65 73 14 14 31 2d |le Resou|rces..1-|
|00001420| 33 34 0d 43 61 6c 6c 69 | 6e 67 20 43 6f 6e 76 65 |34.Calli|ng Conve|
|00001430| 6e 74 69 6f 6e 73 14 14 | 31 2d 34 31 0d 54 68 65 |ntions..|1-41.The|
|00001440| 20 36 38 30 78 30 20 43 | 61 6c 6c 69 6e 67 20 43 | 680x0 C|alling C|
|00001450| 6f 6e 76 65 6e 74 69 6f | 6e 73 14 14 31 2d 34 32 |onventio|ns..1-42|
|00001460| 0d 54 68 65 20 50 6f 77 | 65 72 50 43 20 43 61 6c |.The Pow|erPC Cal|
|00001470| 6c 69 6e 67 20 43 6f 6e | 76 65 6e 74 69 6f 6e 73 |ling Con|ventions|
|00001480| 14 14 31 2d 34 33 0d 50 | 61 72 61 6d 65 74 65 72 |..1-43.P|arameter|
|00001490| 20 50 61 73 73 69 6e 67 | 14 14 31 2d 34 37 0d 49 | Passing|..1-47.I|
|000014a0| 6d 70 6f 72 74 20 4c 69 | 62 72 61 72 69 65 73 14 |mport Li|braries.|
|000014b0| 14 31 2d 35 30 0d 54 68 | 65 20 4f 72 67 61 6e 69 |.1-50.Th|e Organi|
|000014c0| 7a 61 74 69 6f 6e 20 6f | 66 20 4d 65 6d 6f 72 79 |zation o|f Memory|
|000014d0| 14 14 31 2d 35 32 0d 46 | 69 6c 65 20 4d 61 70 70 |..1-52.F|ile Mapp|
|000014e0| 69 6e 67 14 14 31 2d 35 | 33 0d 54 68 65 20 53 79 |ing..1-5|3.The Sy|
|000014f0| 73 74 65 6d 20 50 61 72 | 74 69 74 69 6f 6e 14 14 |stem Par|tition..|
|00001500| 31 2d 35 36 0d 41 70 70 | 6c 69 63 61 74 69 6f 6e |1-56.App|lication|
|00001510| 20 50 61 72 74 69 74 69 | 6f 6e 73 14 14 31 2d 35 | Partiti|ons..1-5|
|00001520| 37 0d 44 61 74 61 20 41 | 6c 69 67 6e 6d 65 6e 74 |7.Data A|lignment|
|00001530| 14 14 31 2d 36 33 0d 43 | 6f 6d 70 61 74 69 62 69 |..1-63.C|ompatibi|
|00001540| 6c 69 74 79 20 61 6e 64 | 20 50 65 72 66 6f 72 6d |lity and| Perform|
|00001550| 61 6e 63 65 14 14 31 2d | 36 35 0d 50 61 74 63 68 |ance..1-|65.Patch|
|00001560| 65 73 14 14 31 2d 36 36 | 0d 54 68 65 20 4d 65 6d |es..1-66|.The Mem|
|00001570| 6f 72 79 20 4d 61 6e 61 | 67 65 72 14 14 31 2d 36 |ory Mana|ger..1-6|
|00001580| 38 0d 50 65 72 66 6f 72 | 6d 61 6e 63 65 20 54 75 |8.Perfor|mance Tu|
|00001590| 6e 69 6e 67 14 14 31 2d | 37 30 0d 4d 6f 64 65 20 |ning..1-|70.Mode |
|000015a0| 53 77 69 74 63 68 65 73 | 14 14 31 2d 37 31 0d 52 |Switches|..1-71.R|
|000015b0| 6f 75 74 69 6e 65 20 50 | 61 72 61 6d 65 74 65 72 |outine P|arameter|
|000015c0| 73 14 14 31 2d 37 32 0d | 0d 43 68 61 70 74 65 72 |s..1-72.|.Chapter|
|000015d0| 20 32 09 4d 69 78 65 64 | 20 4d 6f 64 65 20 4d 61 | 2.Mixed| Mode Ma|
|000015e0| 6e 61 67 65 72 14 14 32 | 2d 31 0d 0d 41 62 6f 75 |nager..2|-1..Abou|
|000015f0| 74 20 74 68 65 20 4d 69 | 78 65 64 20 4d 6f 64 65 |t the Mi|xed Mode|
|00001600| 20 4d 61 6e 61 67 65 72 | 14 14 32 2d 34 0d 45 78 | Manager|..2-4.Ex|
|00001610| 74 65 72 6e 61 6c 20 43 | 6f 64 65 14 14 32 2d 34 |ternal C|ode..2-4|
|00001620| 0d 50 72 6f 63 65 64 75 | 72 65 20 50 6f 69 6e 74 |.Procedu|re Point|
|00001630| 65 72 73 14 14 32 2d 35 | 0d 4d 6f 64 65 20 53 77 |ers..2-5|.Mode Sw|
|00001640| 69 74 63 68 65 73 14 14 | 32 2d 37 0d 43 61 6c 6c |itches..|2-7.Call|
|00001650| 69 6e 67 20 50 6f 77 65 | 72 50 43 20 43 6f 64 65 |ing Powe|rPC Code|
|00001660| 20 46 72 6f 6d 20 36 38 | 30 78 30 20 43 6f 64 65 | From 68|0x0 Code|
|00001670| 14 14 32 2d 38 0d 43 61 | 6c 6c 69 6e 67 20 36 38 |..2-8.Ca|lling 68|
|00001680| 30 78 30 20 43 6f 64 65 | 20 46 72 6f 6d 20 50 6f |0x0 Code| From Po|
|00001690| 77 65 72 50 43 20 43 6f | 64 65 14 14 32 2d 31 32 |werPC Co|de..2-12|
|000016a0| 0d 55 73 69 6e 67 20 74 | 68 65 20 4d 69 78 65 64 |.Using t|he Mixed|
|000016b0| 20 4d 6f 64 65 20 4d 61 | 6e 61 67 65 72 14 14 32 | Mode Ma|nager..2|
|000016c0| 2d 31 34 0d 53 70 65 63 | 69 66 79 69 6e 67 20 50 |-14.Spec|ifying P|
|000016d0| 72 6f 63 65 64 75 72 65 | 20 49 6e 66 6f 72 6d 61 |rocedure| Informa|
|000016e0| 74 69 6f 6e 14 14 32 2d | 31 34 0d 55 73 69 6e 67 |tion..2-|14.Using|
|000016f0| 20 55 6e 69 76 65 72 73 | 61 6c 20 50 72 6f 63 65 | Univers|al Proce|
|00001700| 64 75 72 65 20 50 6f 69 | 6e 74 65 72 73 14 14 32 |dure Poi|nters..2|
|00001710| 2d 32 31 0d 55 73 69 6e | 67 20 53 74 61 74 69 63 |-21.Usin|g Static|
|00001720| 20 52 6f 75 74 69 6e 65 | 20 44 65 73 63 72 69 70 | Routine| Descrip|
|00001730| 74 6f 72 73 14 14 32 2d | 32 32 0d 45 78 65 63 75 |tors..2-|22.Execu|
|00001740| 74 69 6e 67 20 52 65 73 | 6f 75 72 63 65 2d 42 61 |ting Res|ource-Ba|
|00001750| 73 65 64 20 43 6f 64 65 | 14 14 32 2d 32 34 0d 4d |sed Code|..2-24.M|
|00001760| 69 78 65 64 20 4d 6f 64 | 65 20 4d 61 6e 61 67 65 |ixed Mod|e Manage|
|00001770| 72 20 52 65 66 65 72 65 | 6e 63 65 14 14 32 2d 32 |r Refere|nce..2-2|
|00001780| 36 0d 43 6f 6e 73 74 61 | 6e 74 73 14 14 32 2d 32 |6.Consta|nts..2-2|
|00001790| 37 0d 52 6f 75 74 69 6e | 65 20 44 65 73 63 72 69 |7.Routin|e Descri|
|000017a0| 70 74 6f 72 20 46 6c 61 | 67 73 14 14 32 2d 32 37 |ptor Fla|gs..2-27|
|000017b0| 0d 50 72 6f 63 65 64 75 | 72 65 20 49 6e 66 6f 72 |.Procedu|re Infor|
|000017c0| 6d 61 74 69 6f 6e 14 14 | 32 2d 32 37 0d 52 6f 75 |mation..|2-27.Rou|
|000017d0| 74 69 6e 65 20 46 6c 61 | 67 73 14 14 32 2d 33 34 |tine Fla|gs..2-34|
|000017e0| 0d 49 6e 73 74 72 75 63 | 74 69 6f 6e 20 53 65 74 |.Instruc|tion Set|
|000017f0| 20 41 72 63 68 69 74 65 | 63 74 75 72 65 73 14 14 | Archite|ctures..|
|00001800| 32 2d 33 35 0d 44 61 74 | 61 20 53 74 72 75 63 74 |2-35.Dat|a Struct|
|00001810| 75 72 65 73 14 14 32 2d | 33 36 0d 52 6f 75 74 69 |ures..2-|36.Routi|
|00001820| 6e 65 20 52 65 63 6f 72 | 64 73 14 14 32 2d 33 36 |ne Recor|ds..2-36|
|00001830| 0d 52 6f 75 74 69 6e 65 | 20 44 65 73 63 72 69 70 |.Routine| Descrip|
|00001840| 74 6f 72 73 14 14 32 2d | 33 37 0d 4d 69 78 65 64 |tors..2-|37.Mixed|
|00001850| 20 4d 6f 64 65 20 4d 61 | 6e 61 67 65 72 20 52 6f | Mode Ma|nager Ro|
|00001860| 75 74 69 6e 65 73 14 14 | 32 2d 33 38 0d 43 72 65 |utines..|2-38.Cre|
|00001870| 61 74 69 6e 67 20 61 6e | 64 20 44 69 73 70 6f 73 |ating an|d Dispos|
|00001880| 69 6e 67 20 6f 66 20 52 | 6f 75 74 69 6e 65 20 44 |ing of R|outine D|
|00001890| 65 73 63 72 69 70 74 6f | 72 73 14 14 32 2d 33 39 |escripto|rs..2-39|
|000018a0| 0d 43 61 6c 6c 69 6e 67 | 20 52 6f 75 74 69 6e 65 |.Calling| Routine|
|000018b0| 73 20 76 69 61 20 55 6e | 69 76 65 72 73 61 6c 20 |s via Un|iversal |
|000018c0| 50 72 6f 63 65 64 75 72 | 65 20 50 6f 69 6e 74 65 |Procedur|e Pointe|
|000018d0| 72 73 14 14 32 2d 34 32 | 0d 44 65 74 65 72 6d 69 |rs..2-42|.Determi|
|000018e0| 6e 69 6e 67 20 49 6e 73 | 74 72 75 63 74 69 6f 6e |ning Ins|truction|
|000018f0| 20 53 65 74 20 41 72 63 | 68 69 74 65 63 74 75 72 | Set Arc|hitectur|
|00001900| 65 73 14 14 32 2d 34 34 | 0d 53 75 6d 6d 61 72 79 |es..2-44|.Summary|
|00001910| 20 6f 66 20 74 68 65 20 | 4d 69 78 65 64 20 4d 6f | of the |Mixed Mo|
|00001920| 64 65 20 4d 61 6e 61 67 | 65 72 14 14 32 2d 34 35 |de Manag|er..2-45|
|00001930| 0d 43 20 53 75 6d 6d 61 | 72 79 14 14 32 2d 34 35 |.C Summa|ry..2-45|
|00001940| 0d 43 6f 6e 73 74 61 6e | 74 73 14 14 32 2d 34 35 |.Constan|ts..2-45|
|00001950| 0d 44 61 74 61 20 54 79 | 70 65 73 14 14 32 2d 34 |.Data Ty|pes..2-4|
|00001960| 38 0d 4d 69 78 65 64 20 | 4d 6f 64 65 20 4d 61 6e |8.Mixed |Mode Man|
|00001970| 61 67 65 72 20 52 6f 75 | 74 69 6e 65 73 14 14 32 |ager Rou|tines..2|
|00001980| 2d 34 39 0d 0d 43 68 61 | 70 74 65 72 20 33 09 43 |-49..Cha|pter 3.C|
|00001990| 6f 64 65 20 46 72 61 67 | 6d 65 6e 74 20 4d 61 6e |ode Frag|ment Man|
|000019a0| 61 67 65 72 14 14 33 2d | 31 0d 0d 41 62 6f 75 74 |ager..3-|1..About|
|000019b0| 20 74 68 65 20 43 6f 64 | 65 20 46 72 61 67 6d 65 | the Cod|e Fragme|
|000019c0| 6e 74 20 4d 61 6e 61 67 | 65 72 14 14 33 2d 33 0d |nt Manag|er..3-3.|
|000019d0| 46 72 61 67 6d 65 6e 74 | 73 14 14 33 2d 34 0d 49 |Fragment|s..3-4.I|
|000019e0| 6d 70 6f 72 74 20 4c 69 | 62 72 61 72 79 20 53 65 |mport Li|brary Se|
|000019f0| 61 72 63 68 69 6e 67 14 | 14 33 2d 35 0d 56 65 72 |arching.|.3-5.Ver|
|00001a00| 73 69 6f 6e 20 43 68 65 | 63 6b 69 6e 67 14 14 33 |sion Che|cking..3|
|00001a10| 2d 37 0d 55 73 69 6e 67 | 20 74 68 65 20 43 6f 64 |-7.Using| the Cod|
|00001a20| 65 20 46 72 61 67 6d 65 | 6e 74 20 4d 61 6e 61 67 |e Fragme|nt Manag|
|00001a30| 65 72 14 14 33 2d 31 30 | 0d 4c 6f 61 64 69 6e 67 |er..3-10|.Loading|
|00001a40| 20 43 6f 64 65 20 46 72 | 61 67 6d 65 6e 74 73 14 | Code Fr|agments.|
|00001a50| 14 33 2d 31 30 0d 43 72 | 65 61 74 69 6e 67 20 61 |.3-10.Cr|eating a|
|00001a60| 20 43 6f 64 65 20 46 72 | 61 67 6d 65 6e 74 20 52 | Code Fr|agment R|
|00001a70| 65 73 6f 75 72 63 65 14 | 14 33 2d 31 32 0d 47 65 |esource.|.3-12.Ge|
|00001a80| 74 74 69 6e 67 20 49 6e | 66 6f 72 6d 61 74 69 6f |tting In|formatio|
|00001a90| 6e 20 41 62 6f 75 74 20 | 45 78 70 6f 72 74 65 64 |n About |Exported|
|00001aa0| 20 53 79 6d 62 6f 6c 73 | 14 14 33 2d 31 34 0d 43 | Symbols|..3-14.C|
|00001ab0| 6f 64 65 20 46 72 61 67 | 6d 65 6e 74 20 4d 61 6e |ode Frag|ment Man|
|00001ac0| 61 67 65 72 20 52 65 66 | 65 72 65 6e 63 65 14 14 |ager Ref|erence..|
|00001ad0| 33 2d 31 35 0d 44 61 74 | 61 20 53 74 72 75 63 74 |3-15.Dat|a Struct|
|00001ae0| 75 72 65 73 14 14 33 2d | 31 35 0d 46 72 61 67 6d |ures..3-|15.Fragm|
|00001af0| 65 6e 74 20 49 6e 69 74 | 69 61 6c 69 7a 61 74 69 |ent Init|ializati|
|00001b00| 6f 6e 20 42 6c 6f 63 6b | 14 14 33 2d 31 35 0d 46 |on Block|..3-15.F|
|00001b10| 72 61 67 6d 65 6e 74 20 | 4c 6f 63 61 74 69 6f 6e |ragment |Location|
|00001b20| 20 52 65 63 6f 72 64 14 | 14 33 2d 31 36 0d 4d 65 | Record.|.3-16.Me|
|00001b30| 6d 6f 72 79 20 4c 6f 63 | 61 74 69 6f 6e 20 52 65 |mory Loc|ation Re|
|00001b40| 63 6f 72 64 14 14 33 2d | 31 37 0d 44 69 73 6b 20 |cord..3-|17.Disk |
|00001b50| 4c 6f 63 61 74 69 6f 6e | 20 52 65 63 6f 72 64 14 |Location| Record.|
|00001b60| 14 33 2d 31 37 0d 53 65 | 67 6d 65 6e 74 20 4c 6f |.3-17.Se|gment Lo|
|00001b70| 63 61 74 69 6f 6e 20 52 | 65 63 6f 72 64 14 14 33 |cation R|ecord..3|
|00001b80| 2d 31 38 0d 43 6f 64 65 | 20 46 72 61 67 6d 65 6e |-18.Code| Fragmen|
|00001b90| 74 20 4d 61 6e 61 67 65 | 72 20 52 6f 75 74 69 6e |t Manage|r Routin|
|00001ba0| 65 73 14 14 33 2d 31 38 | 0d 4c 6f 61 64 69 6e 67 |es..3-18|.Loading|
|00001bb0| 20 46 72 61 67 6d 65 6e | 74 73 14 14 33 2d 31 39 | Fragmen|ts..3-19|
|00001bc0| 0d 55 6e 6c 6f 61 64 69 | 6e 67 20 46 72 61 67 6d |.Unloadi|ng Fragm|
|00001bd0| 65 6e 74 73 14 14 33 2d | 32 33 0d 46 69 6e 64 69 |ents..3-|23.Findi|
|00001be0| 6e 67 20 53 79 6d 62 6f | 6c 73 14 14 33 2d 32 34 |ng Symbo|ls..3-24|
|00001bf0| 0d 46 72 61 67 6d 65 6e | 74 2d 44 65 66 69 6e 65 |.Fragmen|t-Define|
|00001c00| 64 20 52 6f 75 74 69 6e | 65 73 14 14 33 2d 32 36 |d Routin|es..3-26|
|00001c10| 0d 52 65 73 6f 75 72 63 | 65 73 14 14 33 2d 32 38 |.Resourc|es..3-28|
|00001c20| 0d 54 68 65 20 43 6f 64 | 65 20 46 72 61 67 6d 65 |.The Cod|e Fragme|
|00001c30| 6e 74 20 52 65 73 6f 75 | 72 63 65 14 14 33 2d 32 |nt Resou|rce..3-2|
|00001c40| 38 0d 53 75 6d 6d 61 72 | 79 20 6f 66 20 74 68 65 |8.Summar|y of the|
|00001c50| 20 43 6f 64 65 20 46 72 | 61 67 6d 65 6e 74 20 4d | Code Fr|agment M|
|00001c60| 61 6e 61 67 65 72 14 14 | 33 2d 33 32 0d 43 20 53 |anager..|3-32.C S|
|00001c70| 75 6d 6d 61 72 79 14 14 | 33 2d 33 32 0d 43 6f 6e |ummary..|3-32.Con|
|00001c80| 73 74 61 6e 74 73 14 14 | 33 2d 33 32 0d 44 61 74 |stants..|3-32.Dat|
|00001c90| 61 20 54 79 70 65 73 14 | 14 33 2d 33 33 0d 43 6f |a Types.|.3-33.Co|
|00001ca0| 64 65 20 46 72 61 67 6d | 65 6e 74 20 4d 61 6e 61 |de Fragm|ent Mana|
|00001cb0| 67 65 72 20 52 6f 75 74 | 69 6e 65 73 14 14 33 2d |ger Rout|ines..3-|
|00001cc0| 33 34 0d 46 72 61 67 6d | 65 6e 74 2d 44 65 66 69 |34.Fragm|ent-Defi|
|00001cd0| 6e 65 64 20 52 6f 75 74 | 69 6e 65 73 14 14 33 2d |ned Rout|ines..3-|
|00001ce0| 33 35 0d 52 65 73 75 6c | 74 20 43 6f 64 65 73 14 |35.Resul|t Codes.|
|00001cf0| 14 33 2d 33 35 0d 0d 43 | 68 61 70 74 65 72 20 34 |.3-35..C|hapter 4|
|00001d00| 09 45 78 63 65 70 74 69 | 6f 6e 20 4d 61 6e 61 67 |.Excepti|on Manag|
|00001d10| 65 72 14 14 34 2d 31 0d | 0d 41 62 6f 75 74 20 74 |er..4-1.|.About t|
|00001d20| 68 65 20 45 78 63 65 70 | 74 69 6f 6e 20 4d 61 6e |he Excep|tion Man|
|00001d30| 61 67 65 72 14 14 34 2d | 33 0d 45 78 63 65 70 74 |ager..4-|3.Except|
|00001d40| 69 6f 6e 20 43 6f 6e 74 | 65 78 74 73 14 14 34 2d |ion Cont|exts..4-|
|00001d50| 34 0d 54 79 70 65 73 20 | 6f 66 20 45 78 63 65 70 |4.Types |of Excep|
|00001d60| 74 69 6f 6e 73 14 14 34 | 2d 35 0d 55 73 69 6e 67 |tions..4|-5.Using|
|00001d70| 20 74 68 65 20 45 78 63 | 65 70 74 69 6f 6e 20 4d | the Exc|eption M|
|00001d80| 61 6e 61 67 65 72 14 14 | 34 2d 36 0d 49 6e 73 74 |anager..|4-6.Inst|
|00001d90| 61 6c 6c 69 6e 67 20 61 | 6e 20 45 78 63 65 70 74 |alling a|n Except|
|00001da0| 69 6f 6e 20 48 61 6e 64 | 6c 65 72 14 14 34 2d 36 |ion Hand|ler..4-6|
|00001db0| 0d 57 72 69 74 69 6e 67 | 20 61 6e 20 45 78 63 65 |.Writing| an Exce|
|00001dc0| 70 74 69 6f 6e 20 48 61 | 6e 64 6c 65 72 14 14 34 |ption Ha|ndler..4|
|00001dd0| 2d 37 0d 45 78 63 65 70 | 74 69 6f 6e 20 4d 61 6e |-7.Excep|tion Man|
|00001de0| 61 67 65 72 20 52 65 66 | 65 72 65 6e 63 65 14 14 |ager Ref|erence..|
|00001df0| 34 2d 39 0d 43 6f 6e 73 | 74 61 6e 74 73 14 14 34 |4-9.Cons|tants..4|
|00001e00| 2d 39 0d 45 78 63 65 70 | 74 69 6f 6e 20 4b 69 6e |-9.Excep|tion Kin|
|00001e10| 64 73 14 14 34 2d 39 0d | 4d 65 6d 6f 72 79 20 52 |ds..4-9.|Memory R|
|00001e20| 65 66 65 72 65 6e 63 65 | 20 4b 69 6e 64 73 14 14 |eference| Kinds..|
|00001e30| 34 2d 31 31 0d 44 61 74 | 61 20 53 74 72 75 63 74 |4-11.Dat|a Struct|
|00001e40| 75 72 65 73 14 14 34 2d | 31 32 0d 4d 61 63 68 69 |ures..4-|12.Machi|
|00001e50| 6e 65 20 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 52 |ne Infor|mation R|
|00001e60| 65 63 6f 72 64 73 14 14 | 34 2d 31 32 0d 52 65 67 |ecords..|4-12.Reg|
|00001e70| 69 73 74 65 72 20 49 6e | 66 6f 72 6d 61 74 69 6f |ister In|formatio|
|00001e80| 6e 20 52 65 63 6f 72 64 | 73 14 14 34 2d 31 32 0d |n Record|s..4-12.|
|00001e90| 46 6c 6f 61 74 69 6e 67 | 2d 50 6f 69 6e 74 20 49 |Floating|-Point I|
|00001ea0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 52 65 63 6f 72 |nformati|on Recor|
|00001eb0| 64 73 14 14 34 2d 31 34 | 0d 4d 65 6d 6f 72 79 20 |ds..4-14|.Memory |
|00001ec0| 45 78 63 65 70 74 69 6f | 6e 20 52 65 63 6f 72 64 |Exceptio|n Record|
|00001ed0| 73 14 14 34 2d 31 35 0d | 45 78 63 65 70 74 69 6f |s..4-15.|Exceptio|
|00001ee0| 6e 20 49 6e 66 6f 72 6d | 61 74 69 6f 6e 20 52 65 |n Inform|ation Re|
|00001ef0| 63 6f 72 64 73 14 14 34 | 2d 31 36 0d 45 78 63 65 |cords..4|-16.Exce|
|00001f00| 70 74 69 6f 6e 20 4d 61 | 6e 61 67 65 72 20 52 6f |ption Ma|nager Ro|
|00001f10| 75 74 69 6e 65 73 14 14 | 34 2d 31 37 0d 41 70 70 |utines..|4-17.App|
|00001f20| 6c 69 63 61 74 69 6f 6e | 2d 44 65 66 69 6e 65 64 |lication|-Defined|
|00001f30| 20 52 6f 75 74 69 6e 65 | 73 14 14 34 2d 31 37 0d | Routine|s..4-17.|
|00001f40| 53 75 6d 6d 61 72 79 20 | 6f 66 20 74 68 65 20 45 |Summary |of the E|
|00001f50| 78 63 65 70 74 69 6f 6e | 20 4d 61 6e 61 67 65 72 |xception| Manager|
|00001f60| 14 14 34 2d 31 39 0d 43 | 20 53 75 6d 6d 61 72 79 |..4-19.C| Summary|
|00001f70| 14 14 34 2d 31 39 0d 43 | 6f 6e 73 74 61 6e 74 73 |..4-19.C|onstants|
|00001f80| 14 14 34 2d 31 39 0d 44 | 61 74 61 20 54 79 70 65 |..4-19.D|ata Type|
|00001f90| 73 14 14 34 2d 31 39 0d | 45 78 63 65 70 74 69 6f |s..4-19.|Exceptio|
|00001fa0| 6e 20 4d 61 6e 61 67 65 | 72 20 52 6f 75 74 69 6e |n Manage|r Routin|
|00001fb0| 65 73 14 14 34 2d 32 32 | 0d 41 70 70 6c 69 63 61 |es..4-22|.Applica|
|00001fc0| 74 69 6f 6e 2d 44 65 66 | 69 6e 65 64 20 52 6f 75 |tion-Def|ined Rou|
|00001fd0| 74 69 6e 65 73 14 14 34 | 2d 32 32 0d 0d 47 6c 6f |tines..4|-22..Glo|
|00001fe0| 73 73 61 72 79 14 14 47 | 4c 2d 31 0d 0d 0d 49 6e |ssary..G|L-1...In|
|00001ff0| 64 65 78 14 14 49 4e 2d | 31 0d 46 69 67 75 72 65 |dex..IN-|1.Figure|
|00002000| 73 2c 20 54 61 62 6c 65 | 73 2c 20 61 6e 64 20 4c |s, Table|s, and L|
|00002010| 69 73 74 69 6e 67 73 0d | 0d 50 72 65 66 61 63 65 |istings.|.Preface|
|00002020| 09 41 62 6f 75 74 20 54 | 68 69 73 20 42 6f 6f 6b |.About T|his Book|
|00002030| 14 14 69 78 0d 0d 46 69 | 67 75 72 65 20 50 2d 31 |..ix..Fi|gure P-1|
|00002040| 09 36 38 30 78 30 20 62 | 69 74 20 6e 75 6d 62 65 |.680x0 b|it numbe|
|00002050| 72 69 6e 67 14 14 78 69 | 69 69 0d 46 69 67 75 72 |ring..xi|ii.Figur|
|00002060| 65 20 50 2d 32 09 50 6f | 77 65 72 50 43 20 62 69 |e P-2.Po|werPC bi|
|00002070| 74 20 6e 75 6d 62 65 72 | 69 6e 67 14 14 78 69 69 |t number|ing..xii|
|00002080| 69 0d 54 61 62 6c 65 20 | 50 2d 31 09 53 69 7a 65 |i.Table |P-1.Size|
|00002090| 73 20 6f 66 20 6d 65 6d | 6f 72 79 20 6f 70 65 72 |s of mem|ory oper|
|000020a0| 61 6e 64 73 14 14 78 69 | 69 69 0d 0d 43 68 61 70 |ands..xi|ii..Chap|
|000020b0| 74 65 72 20 31 09 49 6e | 74 72 6f 64 75 63 74 69 |ter 1.In|troducti|
|000020c0| 6f 6e 20 74 6f 20 50 6f | 77 65 72 50 43 20 53 79 |on to Po|werPC Sy|
|000020d0| 73 74 65 6d 20 53 6f 66 | 74 77 61 72 65 14 14 31 |stem Sof|tware..1|
|000020e0| 2d 31 0d 0d 46 69 67 75 | 72 65 20 31 2d 31 09 54 |-1..Figu|re 1-1.T|
|000020f0| 68 65 20 73 79 73 74 65 | 6d 20 73 6f 66 74 77 61 |he syste|m softwa|
|00002100| 72 65 20 66 6f 72 20 50 | 6f 77 65 72 50 43 20 70 |re for P|owerPC p|
|00002110| 72 6f 63 65 73 73 6f 72 | 2d 62 61 73 65 64 20 4d |rocessor|-based M|
|00002120| 61 63 69 6e 74 6f 73 68 | 20 63 6f 6d 70 75 74 65 |acintosh| compute|
|00002130| 72 73 14 14 31 2d 35 0d | 46 69 67 75 72 65 20 31 |rs..1-5.|Figure 1|
|00002140| 2d 32 09 43 72 65 61 74 | 69 6e 67 20 69 6d 70 6f |-2.Creat|ing impo|
|00002150| 72 74 73 20 69 6e 20 61 | 20 66 72 61 67 6d 65 6e |rts in a| fragmen|
|00002160| 74 14 14 31 2d 32 34 0d | 46 69 67 75 72 65 20 31 |t..1-24.|Figure 1|
|00002170| 2d 33 09 41 20 74 72 61 | 6e 73 69 74 69 6f 6e 20 |-3.A tra|nsition |
|00002180| 76 65 63 74 6f 72 14 14 | 31 2d 32 37 0d 46 69 67 |vector..|1-27.Fig|
|00002190| 75 72 65 20 31 2d 34 09 | 54 68 65 20 73 74 72 75 |ure 1-4.|The stru|
|000021a0| 63 74 75 72 65 20 6f 66 | 20 61 20 50 6f 77 65 72 |cture of| a Power|
|000021b0| 50 43 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 14 14 |PC appli|cation..|
|000021c0| 31 2d 33 31 0d 46 69 67 | 75 72 65 20 31 2d 35 09 |1-31.Fig|ure 1-5.|
|000021d0| 54 68 65 20 73 74 72 75 | 63 74 75 72 65 20 6f 66 |The stru|cture of|
|000021e0| 20 61 20 36 38 30 78 30 | 20 61 70 70 6c 69 63 61 | a 680x0| applica|
|000021f0| 74 69 6f 6e 14 14 31 2d | 33 32 0d 46 69 67 75 72 |tion..1-|32.Figur|
|00002200| 65 20 31 2d 36 09 54 68 | 65 20 73 74 72 75 63 74 |e 1-6.Th|e struct|
|00002210| 75 72 65 20 6f 66 20 61 | 20 66 61 74 20 61 70 70 |ure of a| fat app|
|00002220| 6c 69 63 61 74 69 6f 6e | 14 14 31 2d 33 33 0d 46 |lication|..1-33.F|
|00002230| 69 67 75 72 65 20 31 2d | 37 09 54 68 65 20 73 74 |igure 1-|7.The st|
|00002240| 72 75 63 74 75 72 65 20 | 6f 66 20 61 6e 20 61 63 |ructure |of an ac|
|00002250| 63 65 6c 65 72 61 74 65 | 64 20 72 65 73 6f 75 72 |celerate|d resour|
|00002260| 63 65 14 14 31 2d 33 35 | 0d 46 69 67 75 72 65 20 |ce..1-35|.Figure |
|00002270| 31 2d 38 09 54 68 65 20 | 73 74 72 75 63 74 75 72 |1-8.The |structur|
|00002280| 65 20 6f 66 20 61 20 70 | 72 69 76 61 74 65 20 72 |e of a p|rivate r|
|00002290| 65 73 6f 75 72 63 65 14 | 14 31 2d 33 36 0d 46 69 |esource.|.1-36.Fi|
|000022a0| 67 75 72 65 20 31 2d 39 | 09 41 20 36 38 30 78 30 |gure 1-9|.A 680x0|
|000022b0| 20 73 74 61 63 6b 20 66 | 72 61 6d 65 14 14 31 2d | stack f|rame..1-|
|000022c0| 34 32 0d 46 69 67 75 72 | 65 20 31 2d 31 30 09 54 |42.Figur|e 1-10.T|
|000022d0| 68 65 20 50 6f 77 65 72 | 50 43 20 73 74 61 63 6b |he Power|PC stack|
|000022e0| 14 14 31 2d 34 34 0d 46 | 69 67 75 72 65 20 31 2d |..1-44.F|igure 1-|
|000022f0| 31 31 09 54 68 65 20 73 | 74 72 75 63 74 75 72 65 |11.The s|tructure|
|00002300| 20 6f 66 20 61 20 73 74 | 61 63 6b 20 66 72 61 6d | of a st|ack fram|
|00002310| 65 d5 73 20 6c 69 6e 6b | 61 67 65 20 61 72 65 61 |e.s link|age area|
|00002320| 14 14 31 2d 34 35 0d 46 | 69 67 75 72 65 20 31 2d |..1-45.F|igure 1-|
|00002330| 31 32 09 54 68 65 20 52 | 65 64 20 5a 6f 6e 65 14 |12.The R|ed Zone.|
|00002340| 14 31 2d 34 36 0d 46 69 | 67 75 72 65 20 31 2d 31 |.1-46.Fi|gure 1-1|
|00002350| 33 09 54 68 65 20 6f 72 | 67 61 6e 69 7a 61 74 69 |3.The or|ganizati|
|00002360| 6f 6e 20 6f 66 20 74 68 | 65 20 70 61 72 61 6d 65 |on of th|e parame|
|00002370| 74 65 72 20 61 72 65 61 | 20 6f 6e 20 74 68 65 20 |ter area| on the |
|00002380| 73 74 61 63 6b 14 14 31 | 2d 34 39 0d 46 69 67 75 |stack..1|-49.Figu|
|00002390| 72 65 20 31 2d 31 34 09 | 4f 72 67 61 6e 69 7a 61 |re 1-14.|Organiza|
|000023a0| 74 69 6f 6e 20 6f 66 20 | 6d 65 6d 6f 72 79 20 77 |tion of |memory w|
|000023b0| 68 65 6e 20 76 69 72 74 | 75 61 6c 20 6d 65 6d 6f |hen virt|ual memo|
|000023c0| 72 79 20 69 73 20 65 6e | 61 62 6c 65 64 14 14 31 |ry is en|abled..1|
|000023d0| 2d 35 34 0d 46 69 67 75 | 72 65 20 31 2d 31 35 09 |-54.Figu|re 1-15.|
|000023e0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 20 6f 66 20 |Organiza|tion of |
|000023f0| 6d 65 6d 6f 72 79 20 77 | 68 65 6e 20 76 69 72 74 |memory w|hen virt|
|00002400| 75 61 6c 20 6d 65 6d 6f | 72 79 20 69 73 20 6e 6f |ual memo|ry is no|
|00002410| 74 20 65 6e 61 62 6c 65 | 64 14 14 31 2d 35 36 0d |t enable|d..1-56.|
|00002420| 46 69 67 75 72 65 20 31 | 2d 31 36 09 54 68 65 20 |Figure 1|-16.The |
|00002430| 73 74 72 75 63 74 75 72 | 65 20 6f 66 20 61 20 50 |structur|e of a P|
|00002440| 6f 77 65 72 50 43 20 61 | 70 70 6c 69 63 61 74 69 |owerPC a|pplicati|
|00002450| 6f 6e 20 70 61 72 74 69 | 74 69 6f 6e 14 14 31 2d |on parti|tion..1-|
|00002460| 36 30 0d 46 69 67 75 72 | 65 20 31 2d 31 37 09 54 |60.Figur|e 1-17.T|
|00002470| 68 65 20 4d 65 6d 6f 72 | 79 20 63 6f 6e 74 72 6f |he Memor|y contro|
|00002480| 6c 20 70 61 6e 65 6c 20 | 66 6f 72 20 50 6f 77 65 |l panel |for Powe|
|00002490| 72 50 43 20 70 72 6f 63 | 65 73 73 6f 72 2d 62 61 |rPC proc|essor-ba|
|000024a0| 73 65 64 20 4d 61 63 69 | 6e 74 6f 73 68 20 63 6f |sed Maci|ntosh co|
|000024b0| 6d 70 75 74 65 72 73 14 | 14 31 2d 36 39 0d 4c 69 |mputers.|.1-69.Li|
|000024c0| 73 74 69 6e 67 20 31 2d | 31 09 43 72 65 61 74 69 |sting 1-|1.Creati|
|000024d0| 6e 67 20 61 20 72 6f 75 | 74 69 6e 65 20 64 65 73 |ng a rou|tine des|
|000024e0| 63 72 69 70 74 6f 72 14 | 14 31 2d 31 37 0d 4c 69 |criptor.|.1-17.Li|
|000024f0| 73 74 69 6e 67 20 31 2d | 32 09 54 68 65 20 64 65 |sting 1-|2.The de|
|00002500| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |finition| of the |
|00002510| 4e 65 77 43 6f 6e 74 72 | 6f 6c 41 63 74 69 6f 6e |NewContr|olAction|
|00002520| 50 72 6f 63 20 72 6f 75 | 74 69 6e 65 14 14 31 2d |Proc rou|tine..1-|
|00002530| 31 38 0d 4c 69 73 74 69 | 6e 67 20 31 2d 33 09 43 |18.Listi|ng 1-3.C|
|00002540| 72 65 61 74 69 6e 67 20 | 61 20 72 6f 75 74 69 6e |reating |a routin|
|00002550| 65 20 64 65 73 63 72 69 | 70 74 6f 72 20 66 6f 72 |e descri|ptor for|
|00002560| 20 61 20 63 6f 6e 74 72 | 6f 6c 20 61 63 74 69 6f | a contr|ol actio|
|00002570| 6e 20 70 72 6f 63 65 64 | 75 72 65 14 14 31 2d 31 |n proced|ure..1-1|
|00002580| 39 0d 4c 69 73 74 69 6e | 67 20 31 2d 34 09 54 65 |9.Listin|g 1-4.Te|
|00002590| 73 74 69 6e 67 20 66 6f | 72 20 75 6e 72 65 73 6f |sting fo|r unreso|
|000025a0| 6c 76 65 64 20 73 6f 66 | 74 20 69 6d 70 6f 72 74 |lved sof|t import|
|000025b0| 73 14 14 31 2d 32 35 0d | 4c 69 73 74 69 6e 67 20 |s..1-25.|Listing |
|000025c0| 31 2d 35 09 54 68 65 20 | 52 65 7a 20 69 6e 70 75 |1-5.The |Rez inpu|
|000025d0| 74 20 66 6f 72 20 61 20 | 73 61 6d 70 6c 65 20 27 |t for a |sample '|
|000025e0| 63 66 72 67 27 20 72 65 | 73 6f 75 72 63 65 14 14 |cfrg' re|source..|
|000025f0| 31 2d 33 32 0d 4c 69 73 | 74 69 6e 67 20 31 2d 36 |1-32.Lis|ting 1-6|
|00002600| 09 52 65 7a 20 69 6e 70 | 75 74 20 66 6f 72 20 61 |.Rez inp|ut for a|
|00002610| 20 6c 69 73 74 20 64 65 | 66 69 6e 69 74 69 6f 6e | list de|finition|
|00002620| 20 70 72 6f 63 65 64 75 | 72 65 20 73 74 75 62 14 | procedu|re stub.|
|00002630| 14 31 2d 33 35 0d 4c 69 | 73 74 69 6e 67 20 31 2d |.1-35.Li|sting 1-|
|00002640| 37 09 55 73 69 6e 67 20 | 61 6e 20 61 63 63 65 6c |7.Using |an accel|
|00002650| 65 72 61 74 65 64 20 72 | 65 73 6f 75 72 63 65 14 |erated r|esource.|
|00002660| 14 31 2d 33 37 0d 4c 69 | 73 74 69 6e 67 20 31 2d |.1-37.Li|sting 1-|
|00002670| 38 09 53 6f 6d 65 20 61 | 63 63 65 70 74 61 62 6c |8.Some a|cceptabl|
|00002680| 65 20 67 6c 6f 62 61 6c | 20 64 65 63 6c 61 72 61 |e global| declara|
|00002690| 74 69 6f 6e 73 20 69 6e | 20 61 6e 20 61 63 63 65 |tions in| an acce|
|000026a0| 6c 65 72 61 74 65 64 20 | 72 65 73 6f 75 72 63 65 |lerated |resource|
|000026b0| 14 14 31 2d 33 39 0d 4c | 69 73 74 69 6e 67 20 31 |..1-39.L|isting 1|
|000026c0| 2d 39 09 53 6f 6d 65 20 | 75 6e 61 63 63 65 70 74 |-9.Some |unaccept|
|000026d0| 61 62 6c 65 20 67 6c 6f | 62 61 6c 20 64 65 63 6c |able glo|bal decl|
|000026e0| 61 72 61 74 69 6f 6e 73 | 20 61 6e 64 20 63 6f 64 |arations| and cod|
|000026f0| 65 20 69 6e 20 61 6e 20 | 61 63 63 65 6c 65 72 61 |e in an |accelera|
|00002700| 74 65 64 20 72 65 73 6f | 75 72 63 65 14 14 31 2d |ted reso|urce..1-|
|00002710| 33 39 0d 4c 69 73 74 69 | 6e 67 20 31 2d 31 30 09 |39.Listi|ng 1-10.|
|00002720| 55 73 69 6e 67 20 61 20 | 70 72 69 76 61 74 65 20 |Using a |private |
|00002730| 72 65 73 6f 75 72 63 65 | 14 14 31 2d 34 30 0d 4c |resource|..1-40.L|
|00002740| 69 73 74 69 6e 67 20 31 | 2d 31 31 09 44 65 63 6c |isting 1|-11.Decl|
|00002750| 61 72 69 6e 67 20 61 6e | 20 61 70 70 6c 69 63 61 |aring an| applica|
|00002760| 74 69 6f 6e d5 73 20 51 | 75 69 63 6b 44 72 61 77 |tion.s Q|uickDraw|
|00002770| 20 67 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | global |variable|
|00002780| 73 14 14 31 2d 35 39 0d | 4c 69 73 74 69 6e 67 20 |s..1-59.|Listing |
|00002790| 31 2d 31 32 09 41 20 73 | 61 6d 70 6c 65 20 36 38 |1-12.A s|ample 68|
|000027a0| 30 78 30 20 56 42 4c 20 | 74 61 73 6b 20 64 65 66 |0x0 VBL |task def|
|000027b0| 69 6e 69 74 69 6f 6e 14 | 14 31 2d 36 31 0d 4c 69 |inition.|.1-61.Li|
|000027c0| 73 74 69 6e 67 20 31 2d | 31 33 09 41 20 63 6f 6e |sting 1-|13.A con|
|000027d0| 64 69 74 69 6f 6e 61 6c | 69 7a 65 64 20 56 42 4c |ditional|ized VBL|
|000027e0| 20 74 61 73 6b 20 64 65 | 66 69 6e 69 74 69 6f 6e | task de|finition|
|000027f0| 14 14 31 2d 36 32 0d 4c | 69 73 74 69 6e 67 20 31 |..1-62.L|isting 1|
|00002800| 2d 31 34 09 50 61 74 63 | 68 69 6e 67 20 61 6e 20 |-14.Patc|hing an |
|00002810| 4f 70 65 72 61 74 69 6e | 67 20 53 79 73 74 65 6d |Operatin|g System|
|00002820| 20 74 72 61 70 14 14 31 | 2d 36 37 0d 4c 69 73 74 | trap..1|-67.List|
|00002830| 69 6e 67 20 31 2d 31 35 | 09 57 61 69 74 69 6e 67 |ing 1-15|.Waiting|
|00002840| 20 74 6f 20 63 61 6c 6c | 20 74 68 65 20 57 61 69 | to call| the Wai|
|00002850| 74 4e 65 78 74 45 76 65 | 6e 74 20 66 75 6e 63 74 |tNextEve|nt funct|
|00002860| 69 6f 6e 14 14 31 2d 37 | 32 0d 0d 0d 43 68 61 70 |ion..1-7|2...Chap|
|00002870| 74 65 72 20 32 09 4d 69 | 78 65 64 20 4d 6f 64 65 |ter 2.Mi|xed Mode|
|00002880| 20 4d 61 6e 61 67 65 72 | 14 14 32 2d 31 0d 0d 46 | Manager|..2-1..F|
|00002890| 69 67 75 72 65 20 32 2d | 31 09 36 38 30 78 30 20 |igure 2-|1.680x0 |
|000028a0| 61 6e 64 20 50 6f 77 65 | 72 50 43 20 70 72 6f 63 |and Powe|rPC proc|
|000028b0| 65 64 75 72 65 20 70 6f | 69 6e 74 65 72 73 14 14 |edure po|inters..|
|000028c0| 32 2d 35 0d 46 69 67 75 | 72 65 20 32 2d 32 09 43 |2-5.Figu|re 2-2.C|
|000028d0| 61 6c 6c 69 6e 67 20 50 | 6f 77 65 72 50 43 20 63 |alling P|owerPC c|
|000028e0| 6f 64 65 20 66 72 6f 6d | 20 61 20 36 38 30 78 30 |ode from| a 680x0|
|000028f0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 14 14 32 2d | applica|tion..2-|
|00002900| 39 0d 46 69 67 75 72 65 | 20 32 2d 33 09 54 68 65 |9.Figure| 2-3.The|
|00002910| 20 73 74 61 63 6b 20 62 | 65 66 6f 72 65 20 61 20 | stack b|efore a |
|00002920| 6d 6f 64 65 20 73 77 69 | 74 63 68 14 14 32 2d 31 |mode swi|tch..2-1|
|00002930| 30 0d 46 69 67 75 72 65 | 20 32 2d 34 09 41 20 36 |0.Figure| 2-4.A 6|
|00002940| 38 30 78 30 2d 74 6f 2d | 50 6f 77 65 72 50 43 20 |80x0-to-|PowerPC |
|00002950| 73 77 69 74 63 68 20 66 | 72 61 6d 65 14 14 32 2d |switch f|rame..2-|
|00002960| 31 31 0d 46 69 67 75 72 | 65 20 32 2d 35 09 41 20 |11.Figur|e 2-5.A |
|00002970| 50 6f 77 65 72 50 43 2d | 74 6f 2d 36 38 30 78 30 |PowerPC-|to-680x0|
|00002980| 20 73 77 69 74 63 68 20 | 66 72 61 6d 65 14 14 32 | switch |frame..2|
|00002990| 2d 31 33 0d 46 69 67 75 | 72 65 20 32 2d 36 09 50 |-13.Figu|re 2-6.P|
|000029a0| 72 6f 63 65 64 75 72 65 | 20 69 6e 66 6f 72 6d 61 |rocedure| informa|
|000029b0| 74 69 6f 6e 20 66 6f 72 | 20 61 20 73 74 61 63 6b |tion for| a stack|
|000029c0| 2d 62 61 73 65 64 20 72 | 6f 75 74 69 6e 65 14 14 |-based r|outine..|
|000029d0| 32 2d 31 37 0d 46 69 67 | 75 72 65 20 32 2d 37 09 |2-17.Fig|ure 2-7.|
|000029e0| 50 72 6f 63 65 64 75 72 | 65 20 69 6e 66 6f 72 6d |Procedur|e inform|
|000029f0| 61 74 69 6f 6e 20 66 6f | 72 20 61 20 72 65 67 69 |ation fo|r a regi|
|00002a00| 73 74 65 72 2d 62 61 73 | 65 64 20 72 6f 75 74 69 |ster-bas|ed routi|
|00002a10| 6e 65 14 14 32 2d 31 39 | 0d 46 69 67 75 72 65 20 |ne..2-19|.Figure |
|00002a20| 32 2d 38 09 47 65 6e 65 | 72 61 6c 20 73 74 72 75 |2-8.Gene|ral stru|
|00002a30| 63 74 75 72 65 20 6f 66 | 20 61 6e 20 65 78 65 63 |cture of| an exec|
|00002a40| 75 74 61 62 6c 65 20 63 | 6f 64 65 20 72 65 73 6f |utable c|ode reso|
|00002a50| 75 72 63 65 14 14 32 2d | 32 35 0d 46 69 67 75 72 |urce..2-|25.Figur|
|00002a60| 65 20 32 2d 39 09 47 65 | 6e 65 72 61 6c 20 73 74 |e 2-9.Ge|neral st|
|00002a70| 72 75 63 74 75 72 65 20 | 6f 66 20 61 20 66 61 74 |ructure |of a fat|
|00002a80| 20 72 65 73 6f 75 72 63 | 65 14 14 32 2d 32 36 0d | resourc|e..2-26.|
|00002a90| 54 61 62 6c 65 20 32 2d | 31 09 4c 69 6d 69 74 73 |Table 2-|1.Limits|
|00002aa0| 20 6f 6e 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | on the |number o|
|00002ab0| 66 20 73 70 65 63 69 66 | 69 61 62 6c 65 20 70 61 |f specif|iable pa|
|00002ac0| 72 61 6d 65 74 65 72 73 | 20 69 6e 20 61 20 70 72 |rameters| in a pr|
|00002ad0| 6f 63 65 64 75 72 65 20 | 69 6e 66 6f 72 6d 61 74 |ocedure |informat|
|00002ae0| 69 6f 6e 14 14 32 2d 32 | 30 0d 4c 69 73 74 69 6e |ion..2-2|0.Listin|
|00002af0| 67 20 32 2d 31 09 53 61 | 6d 70 6c 65 20 67 6c 75 |g 2-1.Sa|mple glu|
|00002b00| 65 20 63 6f 64 65 20 66 | 6f 72 20 61 20 36 38 30 |e code f|or a 680|
|00002b10| 78 30 20 72 6f 75 74 69 | 6e 65 14 14 32 2d 31 32 |x0 routi|ne..2-12|
|00002b20| 0d 4c 69 73 74 69 6e 67 | 20 32 2d 32 09 43 72 65 |.Listing| 2-2.Cre|
|00002b30| 61 74 69 6e 67 20 67 6c | 6f 62 61 6c 20 72 6f 75 |ating gl|obal rou|
|00002b40| 74 69 6e 65 20 64 65 73 | 63 72 69 70 74 6f 72 73 |tine des|criptors|
|00002b50| 14 14 32 2d 32 31 0d 4c | 69 73 74 69 6e 67 20 32 |..2-21.L|isting 2|
|00002b60| 2d 33 09 43 72 65 61 74 | 69 6e 67 20 6c 6f 63 61 |-3.Creat|ing loca|
|00002b70| 6c 20 72 6f 75 74 69 6e | 65 20 64 65 73 63 72 69 |l routin|e descri|
|00002b80| 70 74 6f 72 73 14 14 32 | 2d 32 32 0d 4c 69 73 74 |ptors..2|-22.List|
|00002b90| 69 6e 67 20 32 2d 34 09 | 43 72 65 61 74 69 6e 67 |ing 2-4.|Creating|
|00002ba0| 20 73 74 61 74 69 63 20 | 72 6f 75 74 69 6e 65 20 | static |routine |
|00002bb0| 64 65 73 63 72 69 70 74 | 6f 72 73 14 14 32 2d 32 |descript|ors..2-2|
|00002bc0| 33 0d 4c 69 73 74 69 6e | 67 20 32 2d 35 09 42 75 |3.Listin|g 2-5.Bu|
|00002bd0| 69 6c 64 69 6e 67 20 61 | 20 73 74 61 74 69 63 20 |ilding a| static |
|00002be0| 72 6f 75 74 69 6e 65 20 | 64 65 73 63 72 69 70 74 |routine |descript|
|00002bf0| 6f 72 14 14 32 2d 32 33 | 0d 0d 43 68 61 70 74 65 |or..2-23|..Chapte|
|00002c00| 72 20 33 09 43 6f 64 65 | 20 46 72 61 67 6d 65 6e |r 3.Code| Fragmen|
|00002c10| 74 20 4d 61 6e 61 67 65 | 72 14 14 33 2d 31 0d 0d |t Manage|r..3-1..|
|00002c20| 46 69 67 75 72 65 20 33 | 2d 31 09 53 74 72 75 63 |Figure 3|-1.Struc|
|00002c30| 74 75 72 65 20 6f 66 20 | 61 20 63 6f 6d 70 69 6c |ture of |a compil|
|00002c40| 65 64 20 63 6f 64 65 20 | 66 72 61 67 6d 65 6e 74 |ed code |fragment|
|00002c50| 20 28 27 63 66 72 67 27 | 29 20 72 65 73 6f 75 72 | ('cfrg'|) resour|
|00002c60| 63 65 14 14 33 2d 32 39 | 0d 46 69 67 75 72 65 20 |ce..3-29|.Figure |
|00002c70| 33 2d 32 09 54 68 65 20 | 66 6f 72 6d 61 74 20 6f |3-2.The |format o|
|00002c80| 66 20 61 20 63 6f 64 65 | 20 66 72 61 67 6d 65 6e |f a code| fragmen|
|00002c90| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 72 65 |t inform|ation re|
|00002ca0| 63 6f 72 64 14 14 33 2d | 33 30 0d 4c 69 73 74 69 |cord..3-|30.Listi|
|00002cb0| 6e 67 20 33 2d 31 09 50 | 73 65 75 64 6f 63 6f 64 |ng 3-1.P|seudocod|
|00002cc0| 65 20 66 6f 72 20 74 68 | 65 20 76 65 72 73 69 6f |e for th|e versio|
|00002cd0| 6e 2d 63 68 65 63 6b 69 | 6e 67 20 61 6c 67 6f 72 |n-checki|ng algor|
|00002ce0| 69 74 68 6d 14 14 33 2d | 39 0d 4c 69 73 74 69 6e |ithm..3-|9.Listin|
|00002cf0| 67 20 33 2d 32 09 4c 6f | 61 64 69 6e 67 20 61 20 |g 3-2.Lo|ading a |
|00002d00| 72 65 73 6f 75 72 63 65 | 2d 62 61 73 65 64 20 66 |resource|-based f|
|00002d10| 72 61 67 6d 65 6e 74 14 | 14 33 2d 31 31 0d 4c 69 |ragment.|.3-11.Li|
|00002d20| 73 74 69 6e 67 20 33 2d | 33 09 4c 6f 61 64 69 6e |sting 3-|3.Loadin|
|00002d30| 67 20 61 20 64 69 73 6b | 2d 62 61 73 65 64 20 66 |g a disk|-based f|
|00002d40| 72 61 67 6d 65 6e 74 14 | 14 33 2d 31 31 0d 4c 69 |ragment.|.3-11.Li|
|00002d50| 73 74 69 6e 67 20 33 2d | 34 09 54 68 65 20 52 65 |sting 3-|4.The Re|
|00002d60| 7a 20 69 6e 70 75 74 20 | 66 6f 72 20 61 20 74 79 |z input |for a ty|
|00002d70| 70 69 63 61 6c 20 61 70 | 70 6c 69 63 61 74 69 6f |pical ap|plicatio|
|00002d80| 6e d5 73 20 27 63 66 72 | 67 27 20 72 65 73 6f 75 |n.s 'cfr|g' resou|
|00002d90| 72 63 65 14 14 33 2d 31 | 32 0d 4c 69 73 74 69 6e |rce..3-1|2.Listin|
|00002da0| 67 20 33 2d 35 09 54 68 | 65 20 52 65 7a 20 69 6e |g 3-5.Th|e Rez in|
|00002db0| 70 75 74 20 66 6f 72 20 | 61 20 74 79 70 69 63 61 |put for |a typica|
|00002dc0| 6c 20 69 6d 70 6f 72 74 | 20 6c 69 62 72 61 72 79 |l import| library|
|00002dd0| d5 73 20 27 63 66 72 67 | 27 20 72 65 73 6f 75 72 |.s 'cfrg|' resour|
|00002de0| 63 65 14 14 33 2d 31 33 | 0d 4c 69 73 74 69 6e 67 |ce..3-13|.Listing|
|00002df0| 20 33 2d 36 09 46 69 6e | 64 69 6e 67 20 73 79 6d | 3-6.Fin|ding sym|
|00002e00| 62 6f 6c 20 6e 61 6d 65 | 73 14 14 33 2d 31 34 0d |bol name|s..3-14.|
|00002e10| 0d 43 68 61 70 74 65 72 | 20 34 09 45 78 63 65 70 |.Chapter| 4.Excep|
|00002e20| 74 69 6f 6e 20 4d 61 6e | 61 67 65 72 14 14 34 2d |tion Man|ager..4-|
|00002e30| 31 0d 0d 4c 69 73 74 69 | 6e 67 20 34 2d 31 09 49 |1..Listi|ng 4-1.I|
|00002e40| 6e 73 74 61 6c 6c 69 6e | 67 20 61 6e 20 65 78 63 |nstallin|g an exc|
|00002e50| 65 70 74 69 6f 6e 20 68 | 61 6e 64 6c 65 72 14 14 |eption h|andler..|
|00002e60| 34 2d 36 0d 4c 69 73 74 | 69 6e 67 20 34 2d 32 09 |4-6.List|ing 4-2.|
|00002e70| 41 20 6e 61 74 69 76 65 | 20 65 78 63 65 70 74 69 |A native| excepti|
|00002e80| 6f 6e 20 68 61 6e 64 6c | 65 72 14 14 34 2d 38 0d |on handl|er..4-8.|
|00002e90| 0d 41 62 6f 75 74 20 54 | 68 69 73 20 42 6f 6f 6b |.About T|his Book|
|00002ea0| 0d 0d 0d 54 68 69 73 20 | 62 6f 6f 6b 2c 20 49 6e |...This |book, In|
|00002eb0| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 3a 20 |side Mac|intosh: |
|00002ec0| 50 6f 77 65 72 50 43 20 | 53 79 73 74 65 6d 20 53 |PowerPC |System S|
|00002ed0| 6f 66 74 77 61 72 65 2c | 20 64 65 73 63 72 69 62 |oftware,| describ|
|00002ee0| 65 73 20 74 68 65 20 6e | 65 77 20 70 72 6f 63 65 |es the n|ew proce|
|00002ef0| 73 73 20 65 78 65 63 75 | 74 69 6f 6e 20 65 6e 76 |ss execu|tion env|
|00002f00| 69 72 6f 6e 6d 65 6e 74 | 20 61 6e 64 20 73 79 73 |ironment| and sys|
|00002f10| 74 65 6d 20 73 6f 66 74 | 77 61 72 65 20 73 65 72 |tem soft|ware ser|
|00002f20| 76 69 63 65 73 20 70 72 | 6f 76 69 64 65 64 20 77 |vices pr|ovided w|
|00002f30| 69 74 68 20 74 68 65 20 | 66 69 72 73 74 20 76 65 |ith the |first ve|
|00002f40| 72 73 69 6f 6e 20 6f 66 | 20 74 68 65 20 73 79 73 |rsion of| the sys|
|00002f50| 74 65 6d 20 73 6f 66 74 | 77 61 72 65 20 66 6f 72 |tem soft|ware for|
|00002f60| 20 4d 61 63 69 6e 74 6f | 73 68 20 6f 6e 20 50 6f | Macinto|sh on Po|
|00002f70| 77 65 72 50 43 20 63 6f | 6d 70 75 74 65 72 73 2e |werPC co|mputers.|
|00002f80| 20 49 74 20 63 6f 6e 74 | 61 69 6e 73 20 69 6e 66 | It cont|ains inf|
|00002f90| 6f 72 6d 61 74 69 6f 6e | 20 79 6f 75 20 6e 65 65 |ormation| you nee|
|00002fa0| 64 20 74 6f 20 6b 6e 6f | 77 20 74 6f 20 77 72 69 |d to kno|w to wri|
|00002fb0| 74 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |te appli|cations |
|00002fc0| 61 6e 64 20 6f 74 68 65 | 72 20 73 6f 66 74 77 61 |and othe|r softwa|
|00002fd0| 72 65 20 74 68 61 74 20 | 63 61 6e 20 72 75 6e 20 |re that |can run |
|00002fe0| 6f 6e 20 50 6f 77 65 72 | 50 43 20 70 72 6f 63 65 |on Power|PC proce|
|00002ff0| 73 73 6f 72 2d 62 61 73 | 65 64 20 4d 61 63 69 6e |ssor-bas|ed Macin|
|00003000| 74 6f 73 68 20 63 6f 6d | 70 75 74 65 72 73 2e 0d |tosh com|puters..|
|00003010| 54 68 65 20 66 69 72 73 | 74 20 72 65 6c 65 61 73 |The firs|t releas|
|00003020| 65 20 6f 66 20 74 68 65 | 20 73 79 73 74 65 6d 20 |e of the| system |
|00003030| 73 6f 66 74 77 61 72 65 | 20 66 6f 72 20 4d 61 63 |software| for Mac|
|00003040| 69 6e 74 6f 73 68 20 6f | 6e 20 50 6f 77 65 72 50 |intosh o|n PowerP|
|00003050| 43 20 63 6f 6d 70 75 74 | 65 72 73 20 70 72 6f 76 |C comput|ers prov|
|00003060| 69 64 65 73 20 61 20 6d | 69 78 65 64 20 6f 72 20 |ides a m|ixed or |
|00003070| 68 79 62 72 69 64 20 65 | 6e 76 69 72 6f 6e 6d 65 |hybrid e|nvironme|
|00003080| 6e 74 3a 20 74 68 65 20 | 73 79 73 74 65 6d 20 73 |nt: the |system s|
|00003090| 6f 66 74 77 61 72 65 20 | 70 72 6f 76 69 64 65 73 |oftware |provides|
|000030a0| 20 74 68 65 20 61 62 69 | 6c 69 74 79 20 74 6f 20 | the abi|lity to |
|000030b0| 65 78 65 63 75 74 65 20 | 62 6f 74 68 20 61 70 70 |execute |both app|
|000030c0| 6c 69 63 61 74 69 6f 6e | 73 20 74 68 61 74 20 75 |lication|s that u|
|000030d0| 73 65 20 74 68 65 20 6e | 61 74 69 76 65 20 69 6e |se the n|ative in|
|000030e0| 73 74 72 75 63 74 69 6f | 6e 20 73 65 74 20 6f 66 |structio|n set of|
|000030f0| 20 74 68 65 20 50 6f 77 | 65 72 50 43 20 6d 69 63 | the Pow|erPC mic|
|00003100| 72 6f 70 72 6f 63 65 73 | 73 6f 72 20 61 6e 64 20 |roproces|sor and |
|00003110| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 74 68 61 |applicat|ions tha|
|00003120| 74 20 75 73 65 20 74 68 | 65 20 36 38 30 78 30 20 |t use th|e 680x0 |
|00003130| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 73 65 74 2e |instruct|ion set.|
|00003140| 20 49 74 20 61 63 63 6f | 6d 70 6c 69 73 68 65 73 | It acco|mplishes|
|00003150| 20 74 68 69 73 20 62 79 | 20 70 72 6f 76 69 64 69 | this by| providi|
|00003160| 6e 67 20 61 20 76 65 72 | 79 20 65 66 66 69 63 69 |ng a ver|y effici|
|00003170| 65 6e 74 20 36 38 4c 43 | 30 34 30 20 45 6d 75 6c |ent 68LC|040 Emul|
|00003180| 61 74 6f 72 20 74 68 61 | 74 20 65 6d 75 6c 61 74 |ator tha|t emulat|
|00003190| 65 73 20 36 38 30 78 30 | 20 69 6e 73 74 72 75 63 |es 680x0| instruc|
|000031a0| 74 69 6f 6e 73 20 77 69 | 74 68 20 50 6f 77 65 72 |tions wi|th Power|
|000031b0| 50 43 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 2e |PC instr|uctions.|
|000031c0| 20 41 73 20 61 20 72 65 | 73 75 6c 74 2c 20 76 69 | As a re|sult, vi|
|000031d0| 72 74 75 61 6c 6c 79 20 | 61 6c 6c 20 65 78 69 73 |rtually |all exis|
|000031e0| 74 69 6e 67 20 36 38 30 | 78 30 2d 62 61 73 65 64 |ting 680|x0-based|
|000031f0| 20 4d 61 63 69 6e 74 6f | 73 68 20 61 70 70 6c 69 | Macinto|sh appli|
|00003200| 63 61 74 69 6f 6e 73 20 | 61 6e 64 20 6f 74 68 65 |cations |and othe|
|00003210| 72 20 73 6f 66 74 77 61 | 72 65 20 6d 6f 64 75 6c |r softwa|re modul|
|00003220| 65 73 20 74 68 61 74 20 | 63 6f 6e 66 6f 72 6d 20 |es that |conform |
|00003230| 74 6f 20 74 68 65 20 70 | 72 6f 67 72 61 6d 6d 69 |to the p|rogrammi|
|00003240| 6e 67 20 69 6e 74 65 72 | 66 61 63 65 73 20 61 6e |ng inter|faces an|
|00003250| 64 20 74 65 63 68 6e 69 | 71 75 65 73 20 64 6f 63 |d techni|ques doc|
|00003260| 75 6d 65 6e 74 65 64 20 | 69 6e 20 74 68 65 20 49 |umented |in the I|
|00003270| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |nside Ma|cintosh |
|00003280| 73 75 69 74 65 20 6f 66 | 20 62 6f 6f 6b 73 20 77 |suite of| books w|
|00003290| 69 6c 6c 20 65 78 65 63 | 75 74 65 20 77 69 74 68 |ill exec|ute with|
|000032a0| 6f 75 74 20 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |out modi|fication|
|000032b0| 20 6f 6e 20 50 6f 77 65 | 72 50 43 20 70 72 6f 63 | on Powe|rPC proc|
|000032c0| 65 73 73 6f 72 2d 62 61 | 73 65 64 20 4d 61 63 69 |essor-ba|sed Maci|
|000032d0| 6e 74 6f 73 68 20 63 6f | 6d 70 75 74 65 72 73 2e |ntosh co|mputers.|
|000032e0| 0d 54 6f 20 74 61 6b 65 | 20 6d 61 78 69 6d 75 6d |.To take| maximum|
|000032f0| 20 61 64 76 61 6e 74 61 | 67 65 20 6f 66 20 74 68 | advanta|ge of th|
|00003300| 65 20 6d 75 63 68 20 67 | 72 65 61 74 65 72 20 70 |e much g|reater p|
|00003310| 72 6f 63 65 73 73 69 6e | 67 20 73 70 65 65 64 20 |rocessin|g speed |
|00003320| 6f 66 20 74 68 65 20 50 | 6f 77 65 72 50 43 20 6d |of the P|owerPC m|
|00003330| 69 63 72 6f 70 72 6f 63 | 65 73 73 6f 72 2c 20 68 |icroproc|essor, h|
|00003340| 6f 77 65 76 65 72 2c 20 | 79 6f 75 d5 6c 6c 20 6e |owever, |you.ll n|
|00003350| 65 65 64 20 74 6f 20 72 | 65 63 6f 6d 70 69 6c 65 |eed to r|ecompile|
|00003360| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00003370| 6e d5 73 20 73 6f 75 72 | 63 65 20 63 6f 64 65 20 |n.s sour|ce code |
|00003380| 69 6e 74 6f 20 61 20 50 | 6f 77 65 72 50 43 20 61 |into a P|owerPC a|
|00003390| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 20 41 70 70 6c |pplicati|on. Appl|
|000033a0| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|000033b0| 2c 20 70 72 6f 76 69 64 | 65 73 20 4d 50 57 2d 62 |, provid|es MPW-b|
|000033c0| 61 73 65 64 20 43 20 61 | 6e 64 20 43 2b 2b 20 63 |ased C a|nd C++ c|
|000033d0| 6f 6d 70 69 6c 65 72 73 | 20 61 6e 64 20 6f 74 68 |ompilers| and oth|
|000033e0| 65 72 20 74 6f 6f 6c 73 | 20 74 68 61 74 20 79 6f |er tools| that yo|
|000033f0| 75 20 63 61 6e 20 75 73 | 65 20 74 6f 20 63 72 65 |u can us|e to cre|
|00003400| 61 74 65 20 6e 61 74 69 | 76 65 20 50 6f 77 65 72 |ate nati|ve Power|
|00003410| 50 43 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2e |PC appli|cations.|
|00003420| 20 49 6e 20 67 65 6e 65 | 72 61 6c 2c 20 69 66 20 | In gene|ral, if |
|00003430| 79 6f 75 72 20 73 6f 75 | 72 63 65 20 63 6f 64 65 |your sou|rce code|
|00003440| 20 69 73 20 61 6c 72 65 | 61 64 79 20 63 6f 6d 70 | is alre|ady comp|
|00003450| 6c 69 61 6e 74 20 77 69 | 74 68 20 41 4e 53 49 20 |liant wi|th ANSI |
|00003460| 43 20 73 74 61 6e 64 61 | 72 64 73 20 6f 72 20 74 |C standa|rds or t|
|00003470| 68 65 20 64 65 20 66 61 | 63 74 6f 20 41 4e 53 49 |he de fa|cto ANSI|
|00003480| 20 43 2b 2b 20 73 74 61 | 6e 64 61 72 64 73 2c 20 | C++ sta|ndards, |
|00003490| 79 6f 75 20 73 68 6f 75 | 6c 64 20 62 65 20 61 62 |you shou|ld be ab|
|000034a0| 6c 65 2c 20 77 69 74 68 | 20 6d 6f 64 65 72 61 74 |le, with| moderat|
|000034b0| 65 6c 79 20 6c 69 74 74 | 6c 65 20 65 66 66 6f 72 |ely litt|le effor|
|000034c0| 74 2c 20 74 6f 20 72 65 | 77 6f 72 6b 20 79 6f 75 |t, to re|work you|
|000034d0| 72 20 73 6f 75 72 63 65 | 20 63 6f 64 65 20 73 6f |r source| code so|
|000034e0| 20 74 68 61 74 20 69 74 | 20 63 61 6e 20 62 65 20 | that it| can be |
|000034f0| 63 6f 6d 70 69 6c 65 64 | 20 61 6e 64 20 62 75 69 |compiled| and bui|
|00003500| 6c 74 20 75 73 69 6e 67 | 20 74 68 65 20 41 70 70 |lt using| the App|
|00003510| 6c 65 2d 73 75 70 70 6c | 69 65 64 20 74 6f 6f 6c |le-suppl|ied tool|
|00003520| 73 20 69 6e 74 6f 20 61 | 20 50 6f 77 65 72 50 43 |s into a| PowerPC|
|00003530| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 20 54 68 | applica|tion. Th|
|00003540| 69 73 20 62 6f 6f 6b 20 | 69 73 20 69 6e 74 65 6e |is book |is inten|
|00003550| 64 65 64 20 74 6f 20 70 | 72 6f 76 69 64 65 20 6d |ded to p|rovide m|
|00003560| 75 63 68 20 6f 66 20 74 | 68 65 20 69 6e 66 6f 72 |uch of t|he infor|
|00003570| 6d 61 74 69 6f 6e 20 79 | 6f 75 20 6e 65 65 64 20 |mation y|ou need |
|00003580| 74 6f 20 70 6f 72 74 20 | 79 6f 75 72 20 65 78 69 |to port |your exi|
|00003590| 73 74 69 6e 67 20 36 38 | 30 78 30 20 61 70 70 6c |sting 68|0x0 appl|
|000035a0| 69 63 61 74 69 6f 6e 20 | 28 6f 72 20 6f 74 68 65 |ication |(or othe|
|000035b0| 72 20 73 6f 66 74 77 61 | 72 65 29 20 74 6f 20 74 |r softwa|re) to t|
|000035c0| 68 65 20 50 6f 77 65 72 | 50 43 20 70 6c 61 74 66 |he Power|PC platf|
|000035d0| 6f 72 6d 2e 0d 4e 6f 74 | 65 0d 54 68 65 72 65 20 |orm..Not|e.There |
|000035e0| 77 69 6c 6c 20 61 6c 73 | 6f 20 62 65 20 74 68 69 |will als|o be thi|
|000035f0| 72 64 2d 70 61 72 74 79 | 20 63 6f 6d 70 69 6c 65 |rd-party| compile|
|00003600| 72 73 20 61 6e 64 20 64 | 65 76 65 6c 6f 70 6d 65 |rs and d|evelopme|
|00003610| 6e 74 20 0d 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 73 |nt .envi|ronments|
|00003620| 20 63 61 70 61 62 6c 65 | 20 6f 66 20 67 65 6e 65 | capable| of gene|
|00003630| 72 61 74 69 6e 67 20 50 | 6f 77 65 72 50 43 20 63 |rating P|owerPC c|
|00003640| 6f 64 65 2e 13 75 0d 0d | 41 6c 74 68 6f 75 67 68 |ode..u..|Although|
|00003650| 20 74 68 65 20 6e 61 74 | 69 76 65 20 72 75 6e 2d | the nat|ive run-|
|00003660| 74 69 6d 65 20 65 78 65 | 63 75 74 69 6f 6e 20 65 |time exe|cution e|
|00003670| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 6f 66 20 74 68 |nvironme|nt of th|
|00003680| 65 20 66 69 72 73 74 20 | 76 65 72 73 69 6f 6e 20 |e first |version |
|00003690| 6f 66 20 74 68 65 20 73 | 79 73 74 65 6d 20 73 6f |of the s|ystem so|
|000036a0| 66 74 77 61 72 65 20 66 | 6f 72 20 50 6f 77 65 72 |ftware f|or Power|
|000036b0| 50 43 20 70 72 6f 63 65 | 73 73 6f 72 2d 62 61 73 |PC proce|ssor-bas|
|000036c0| 65 64 20 4d 61 63 69 6e | 74 6f 73 68 20 63 6f 6d |ed Macin|tosh com|
|000036d0| 70 75 74 65 72 73 20 69 | 73 20 73 69 67 6e 69 66 |puters i|s signif|
|000036e0| 69 63 61 6e 74 6c 79 20 | 64 69 66 66 65 72 65 6e |icantly |differen|
|000036f0| 74 20 66 72 6f 6d 20 74 | 68 65 20 65 78 65 63 75 |t from t|he execu|
|00003700| 74 69 6f 6e 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |tion env|ironment|
|00003710| 20 6f 66 20 63 75 72 72 | 65 6e 74 20 36 38 30 78 | of curr|ent 680x|
|00003720| 30 2d 62 61 73 65 64 20 | 4d 61 63 69 6e 74 6f 73 |0-based |Macintos|
|00003730| 68 20 63 6f 6d 70 75 74 | 65 72 73 2c 20 79 6f 75 |h comput|ers, you|
|00003740| 20 77 6f 6e d5 74 20 6e | 65 65 64 20 74 6f 20 77 | won.t n|eed to w|
|00003750| 6f 72 72 79 20 61 62 6f | 75 74 20 74 68 6f 73 65 |orry abo|ut those|
|00003760| 20 64 69 66 66 65 72 65 | 6e 63 65 73 20 75 6e 6c | differe|nces unl|
|00003770| 65 73 73 20 79 6f 75 72 | 20 65 78 69 73 74 69 6e |ess your| existin|
|00003780| 67 20 63 6f 64 65 20 72 | 65 6c 69 65 73 20 6f 6e |g code r|elies on|
|00003790| 20 73 70 65 63 69 66 69 | 63 20 69 6e 66 6f 72 6d | specifi|c inform|
|000037a0| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 74 68 65 20 |ation ab|out the |
|000037b0| 36 38 30 78 30 20 65 78 | 65 63 75 74 69 6f 6e 20 |680x0 ex|ecution |
|000037c0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 2e 20 46 6f 72 |environm|ent. For|
|000037d0| 20 65 78 61 6d 70 6c 65 | 2c 20 69 66 20 66 6f 72 | example|, if for|
|000037e0| 20 73 6f 6d 65 20 72 65 | 61 73 6f 6e 20 79 6f 75 | some re|ason you|
|000037f0| 20 64 69 72 65 63 74 6c | 79 20 61 63 63 65 73 73 | directl|y access|
|00003800| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 6e 20 | informa|tion in |
|00003810| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00003820| d5 73 20 41 35 20 77 6f | 72 6c 64 2c 20 79 6f 75 |.s A5 wo|rld, you|
|00003830| d5 6c 6c 20 6e 65 65 64 | 20 74 6f 20 72 65 77 72 |.ll need| to rewr|
|00003840| 69 74 65 20 74 68 6f 73 | 65 20 0d 70 61 72 74 73 |ite thos|e .parts|
|00003850| 20 6f 66 20 63 6f 64 65 | 20 77 68 65 6e 20 70 6f | of code| when po|
|00003860| 72 74 69 6e 67 20 79 6f | 75 72 20 61 70 70 6c 69 |rting yo|ur appli|
|00003870| 63 61 74 69 6f 6e 20 74 | 6f 20 74 68 65 20 50 6f |cation t|o the Po|
|00003880| 77 65 72 50 43 20 65 6e | 76 69 72 6f 6e 6d 65 6e |werPC en|vironmen|
|00003890| 74 2e 20 53 69 6d 69 6c | 61 72 6c 79 2c 20 79 6f |t. Simil|arly, yo|
|000038a0| 75 d5 6c 6c 20 6e 65 65 | 64 20 74 6f 20 72 65 77 |u.ll nee|d to rew|
|000038b0| 72 69 74 65 20 61 6e 79 | 20 70 61 72 74 73 20 6f |rite any| parts o|
|000038c0| 66 20 79 6f 75 72 20 63 | 6f 64 65 20 74 68 61 74 |f your c|ode that|
|000038d0| 20 64 65 70 65 6e 64 20 | 6f 6e 20 0d 64 61 74 61 | depend |on .data|
|000038e0| 20 62 65 69 6e 67 20 70 | 61 73 73 65 64 20 69 6e | being p|assed in|
|000038f0| 20 63 65 72 74 61 69 6e | 20 36 38 30 78 30 20 72 | certain| 680x0 r|
|00003900| 65 67 69 73 74 65 72 73 | 2e 20 56 42 4c 20 74 61 |egisters|. VBL ta|
|00003910| 73 6b 73 2c 20 66 6f 72 | 20 69 6e 73 74 61 6e 63 |sks, for| instanc|
|00003920| 65 2c 20 76 65 72 79 20 | 6f 66 74 65 6e 20 64 65 |e, very |often de|
|00003930| 70 65 6e 64 20 6f 6e 20 | 74 68 65 20 66 61 63 74 |pend on |the fact|
|00003940| 20 74 68 61 74 20 61 20 | 70 6f 69 6e 74 65 72 20 | that a |pointer |
|00003950| 74 6f 20 74 68 65 20 56 | 42 4c 20 74 61 73 6b 20 |to the V|BL task |
|00003960| 72 65 63 6f 72 64 20 69 | 73 20 70 61 73 73 65 64 |record i|s passed|
|00003970| 20 69 6e 20 72 65 67 69 | 73 74 65 72 20 41 30 2e | in regi|ster A0.|
|00003980| 0d 54 68 65 20 66 69 72 | 73 74 20 63 68 61 70 74 |.The fir|st chapt|
|00003990| 65 72 20 69 6e 20 74 68 | 69 73 20 62 6f 6f 6b 2c |er in th|is book,|
|000039a0| 20 d2 49 6e 74 72 6f 64 | 75 63 74 69 6f 6e 20 74 | .Introd|uction t|
|000039b0| 6f 20 50 6f 77 65 72 50 | 43 20 53 79 73 74 65 6d |o PowerP|C System|
|000039c0| 20 53 6f 66 74 77 61 72 | 65 2c d3 20 70 72 6f 76 | Softwar|e,. prov|
|000039d0| 69 64 65 73 20 61 20 67 | 65 6e 65 72 61 6c 20 6f |ides a g|eneral o|
|000039e0| 76 65 72 76 69 65 77 20 | 6f 66 20 74 68 65 20 73 |verview |of the s|
|000039f0| 79 73 74 65 6d 20 73 6f | 66 74 77 61 72 65 20 74 |ystem so|ftware t|
|00003a00| 68 61 74 20 72 75 6e 73 | 20 6f 6e 20 50 6f 77 65 |hat runs| on Powe|
|00003a10| 72 50 43 20 70 72 6f 63 | 65 73 73 6f 72 2d 62 61 |rPC proc|essor-ba|
|00003a20| 73 65 64 20 4d 61 63 69 | 6e 74 6f 73 68 20 63 6f |sed Maci|ntosh co|
|00003a30| 6d 70 75 74 65 72 73 2e | 20 49 74 20 61 6c 73 6f |mputers.| It also|
|00003a40| 20 64 65 73 63 72 69 62 | 65 73 20 69 6e 20 64 65 | describ|es in de|
|00003a50| 74 61 69 6c 20 74 68 65 | 20 6d 69 78 65 64 20 65 |tail the| mixed e|
|00003a60| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 70 72 6f 76 69 |nvironme|nt provi|
|00003a70| 64 65 64 20 62 79 20 74 | 68 65 20 36 38 4c 43 30 |ded by t|he 68LC0|
|00003a80| 34 30 20 45 6d 75 6c 61 | 74 6f 72 20 61 6e 64 20 |40 Emula|tor and |
|00003a90| 74 68 65 20 4d 69 78 65 | 64 20 4d 6f 64 65 20 4d |the Mixe|d Mode M|
|00003aa0| 61 6e 61 67 65 72 2c 20 | 61 73 20 77 65 6c 6c 20 |anager, |as well |
|00003ab0| 61 73 20 74 68 65 20 6e | 65 77 20 72 75 6e 2d 74 |as the n|ew run-t|
|00003ac0| 69 6d 65 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |ime envi|ronment |
|00003ad0| 75 73 65 64 20 66 6f 72 | 20 6e 61 74 69 76 65 20 |used for| native |
|00003ae0| 50 6f 77 65 72 50 43 20 | 61 70 70 6c 69 63 61 74 |PowerPC |applicat|
|00003af0| 69 6f 6e 73 2e 20 59 6f | 75 20 73 68 6f 75 6c 64 |ions. Yo|u should|
|00003b00| 20 72 65 61 64 20 74 68 | 69 73 20 63 68 61 70 74 | read th|is chapt|
|00003b10| 65 72 20 66 6f 72 20 67 | 65 6e 65 72 61 6c 20 69 |er for g|eneral i|
|00003b20| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 62 6f 75 74 |nformati|on about|
|00003b30| 20 70 6f 72 74 69 6e 67 | 20 79 6f 75 72 20 65 78 | porting| your ex|
|00003b40| 69 73 74 69 6e 67 20 73 | 6f 66 74 77 61 72 65 20 |isting s|oftware |
|00003b50| 74 6f 20 74 68 65 20 50 | 6f 77 65 72 50 43 20 65 |to the P|owerPC e|
|00003b60| 6e 76 69 72 6f 6e 6d 65 | 6e 74 2e 20 45 76 65 6e |nvironme|nt. Even|
|00003b70| 20 69 66 20 79 6f 75 20 | 64 6f 20 6e 6f 74 20 69 | if you |do not i|
|00003b80| 6e 74 65 6e 64 20 74 6f | 20 70 6f 72 74 20 79 6f |ntend to| port yo|
|00003b90| 75 72 20 65 78 69 73 74 | 69 6e 67 20 36 38 30 78 |ur exist|ing 680x|
|00003ba0| 30 20 73 6f 66 74 77 61 | 72 65 2c 20 79 6f 75 20 |0 softwa|re, you |
|00003bb0| 6d 69 67 68 74 20 73 74 | 69 6c 6c 20 77 61 6e 74 |might st|ill want|
|00003bc0| 20 74 6f 20 72 65 61 64 | 20 74 68 69 73 20 63 68 | to read| this ch|
|00003bd0| 61 70 74 65 72 20 66 6f | 72 20 69 6e 66 6f 72 6d |apter fo|r inform|
|00003be0| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 72 75 6e 6e |ation ab|out runn|
|00003bf0| 69 6e 67 20 75 6e 64 65 | 72 20 74 68 65 20 36 38 |ing unde|r the 68|
|00003c00| 4c 43 30 34 30 20 45 6d | 75 6c 61 74 6f 72 2e 0d |LC040 Em|ulator..|
|00003c10| 54 68 65 20 72 65 6d 61 | 69 6e 69 6e 67 20 63 68 |The rema|ining ch|
|00003c20| 61 70 74 65 72 73 20 69 | 6e 20 74 68 69 73 20 62 |apters i|n this b|
|00003c30| 6f 6f 6b 20 70 72 6f 76 | 69 64 65 20 72 65 66 65 |ook prov|ide refe|
|00003c40| 72 65 6e 63 65 20 6d 61 | 74 65 72 69 61 6c 20 66 |rence ma|terial f|
|00003c50| 6f 72 20 74 68 65 20 74 | 68 72 65 65 20 6e 65 77 |or the t|hree new|
|00003c60| 20 73 79 73 74 65 6d 20 | 73 6f 66 74 77 61 72 65 | system |software|
|00003c70| 20 6d 61 6e 61 67 65 72 | 73 20 69 6e 74 72 6f 64 | manager|s introd|
|00003c80| 75 63 65 64 20 69 6e 20 | 74 68 65 20 66 69 72 73 |uced in |the firs|
|00003c90| 74 20 76 65 72 73 69 6f | 6e 20 6f 66 20 74 68 65 |t versio|n of the|
|00003ca0| 20 73 79 73 74 65 6d 20 | 73 6f 66 74 77 61 72 65 | system |software|
|00003cb0| 20 66 6f 72 20 50 6f 77 | 65 72 50 43 20 70 72 6f | for Pow|erPC pro|
|00003cc0| 63 65 73 73 6f 72 2d 62 | 61 73 65 64 20 4d 61 63 |cessor-b|ased Mac|
|00003cd0| 69 6e 74 6f 73 68 20 63 | 6f 6d 70 75 74 65 72 73 |intosh c|omputers|
|00003ce0| 2e 20 59 6f 75 20 73 68 | 6f 75 6c 64 20 72 65 61 |. You sh|ould rea|
|00003cf0| 64 20 74 68 65 73 65 20 | 63 68 61 70 74 65 72 73 |d these |chapters|
|00003d00| 20 66 6f 72 20 73 70 65 | 63 69 66 69 63 20 69 6e | for spe|cific in|
|00003d10| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 75 73 69 |formatio|n on usi|
|00003d20| 6e 67 20 74 68 65 20 73 | 65 72 76 69 63 65 73 20 |ng the s|ervices |
|00003d30| 70 72 6f 76 69 64 65 64 | 20 62 79 20 74 68 6f 73 |provided| by thos|
|00003d40| 65 20 6d 61 6e 61 67 65 | 72 73 2e 20 54 68 65 20 |e manage|rs. The |
|00003d50| 6e 65 77 20 73 79 73 74 | 65 6d 20 73 6f 66 74 77 |new syst|em softw|
|00003d60| 61 72 65 20 6d 61 6e 61 | 67 65 72 73 20 61 72 65 |are mana|gers are|
|00003d70| 0d 6e 09 74 68 65 20 4d | 69 78 65 64 20 4d 6f 64 |.n.the M|ixed Mod|
|00003d80| 65 20 4d 61 6e 61 67 65 | 72 2c 20 77 68 69 63 68 |e Manage|r, which|
|00003d90| 20 6d 61 6e 61 67 65 73 | 20 74 68 65 20 6d 69 78 | manages| the mix|
|00003da0| 65 64 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 6f |ed envir|onment o|
|00003db0| 66 20 50 6f 77 65 72 50 | 43 20 70 72 6f 63 65 73 |f PowerP|C proces|
|00003dc0| 73 6f 72 2d 62 61 73 65 | 64 20 4d 61 63 69 6e 74 |sor-base|d Macint|
|00003dd0| 6f 73 68 20 63 6f 6d 70 | 75 74 65 72 73 20 72 75 |osh comp|uters ru|
|00003de0| 6e 6e 69 6e 67 20 36 38 | 30 78 30 2d 62 61 73 65 |nning 68|0x0-base|
|00003df0| 64 20 63 6f 64 65 0d 6e | 09 74 68 65 20 43 6f 64 |d code.n|.the Cod|
|00003e00| 65 20 46 72 61 67 6d 65 | 6e 74 20 4d 61 6e 61 67 |e Fragme|nt Manag|
|00003e10| 65 72 2c 20 77 68 69 63 | 68 20 6c 6f 61 64 73 20 |er, whic|h loads |
|00003e20| 66 72 61 67 6d 65 6e 74 | 73 20 28 62 6c 6f 63 6b |fragment|s (block|
|00003e30| 73 20 6f 66 20 65 78 65 | 63 75 74 61 62 6c 65 20 |s of exe|cutable |
|00003e40| 50 6f 77 65 72 50 43 20 | 63 6f 64 65 20 61 6e 64 |PowerPC |code and|
|00003e50| 20 74 68 65 69 72 20 61 | 73 73 6f 63 69 61 74 65 | their a|ssociate|
|00003e60| 64 20 64 61 74 61 29 20 | 69 6e 74 6f 20 6d 65 6d |d data) |into mem|
|00003e70| 6f 72 79 20 61 6e 64 20 | 70 72 65 70 61 72 65 73 |ory and |prepares|
|00003e80| 20 74 68 65 6d 20 66 6f | 72 20 65 78 65 63 75 74 | them fo|r execut|
|00003e90| 69 6f 6e 0d 6e 09 74 68 | 65 20 45 78 63 65 70 74 |ion.n.th|e Except|
|00003ea0| 69 6f 6e 20 4d 61 6e 61 | 67 65 72 2c 20 77 68 69 |ion Mana|ger, whi|
|00003eb0| 63 68 20 68 61 6e 64 6c | 65 73 20 65 78 63 65 70 |ch handl|es excep|
|00003ec0| 74 69 6f 6e 73 20 74 68 | 61 74 20 6f 63 63 75 72 |tions th|at occur|
|00003ed0| 20 64 75 72 69 6e 67 20 | 74 68 65 20 65 78 65 63 | during |the exec|
|00003ee0| 75 74 69 6f 6e 20 6f 66 | 20 50 6f 77 65 72 50 43 |ution of| PowerPC|
|00003ef0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 6f 72 | applica|tions or|
|00003f00| 20 6f 74 68 65 72 20 73 | 6f 66 74 77 61 72 65 0d | other s|oftware.|
|00003f10| 49 4d 50 4f 52 54 41 4e | 54 0d 53 6f 6d 65 20 6f |IMPORTAN|T.Some o|
|00003f20| 66 20 74 68 65 20 73 79 | 73 74 65 6d 20 73 6f 66 |f the sy|stem sof|
|00003f30| 74 77 61 72 65 20 73 65 | 72 76 69 63 65 73 20 69 |tware se|rvices i|
|00003f40| 6e 74 72 6f 64 75 63 65 | 64 20 69 6e 20 74 68 65 |ntroduce|d in the|
|00003f50| 20 66 69 72 73 74 20 76 | 65 72 73 69 6f 6e 20 6f | first v|ersion o|
|00003f60| 66 20 74 68 65 20 73 79 | 73 74 65 6d 20 73 6f 66 |f the sy|stem sof|
|00003f70| 74 77 61 72 65 20 66 6f | 72 20 50 6f 77 65 72 50 |tware fo|r PowerP|
|00003f80| 43 20 70 72 6f 63 65 73 | 73 6f 72 2d 62 61 73 65 |C proces|sor-base|
|00003f90| 64 20 4d 61 63 69 6e 74 | 6f 73 68 20 63 6f 6d 70 |d Macint|osh comp|
|00003fa0| 75 74 65 72 73 20 6d 69 | 67 68 74 20 69 6e 20 74 |uters mi|ght in t|
|00003fb0| 68 65 20 66 75 74 75 72 | 65 20 62 65 20 61 76 61 |he futur|e be ava|
|00003fc0| 69 6c 61 62 6c 65 20 6f | 6e 20 4d 61 63 69 6e 74 |ilable o|n Macint|
|00003fd0| 6f 73 68 20 63 6f 6d 70 | 75 74 65 72 73 20 74 68 |osh comp|uters th|
|00003fe0| 61 74 20 61 72 65 20 6e | 6f 74 20 62 61 73 65 64 |at are n|ot based|
|00003ff0| 20 6f 6e 20 74 68 65 20 | 50 6f 77 65 72 50 43 20 | on the |PowerPC |
|00004000| 6d 69 63 72 6f 70 72 6f | 63 65 73 73 6f 72 2e 20 |micropro|cessor. |
|00004010| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 69 74 d5 |For exam|ple, it.|
|00004020| 73 20 70 6f 73 73 69 62 | 6c 65 20 74 68 61 74 20 |s possib|le that |
|00004030| 74 68 65 20 43 6f 64 65 | 20 46 72 61 67 6d 65 6e |the Code| Fragmen|
|00004040| 74 20 4d 61 6e 61 67 65 | 72 20 28 61 6e 64 20 74 |t Manage|r (and t|
|00004050| 68 65 20 65 6e 74 69 72 | 65 20 72 75 6e 2d 74 69 |he entir|e run-ti|
|00004060| 6d 65 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 62 |me envir|onment b|
|00004070| 61 73 65 64 20 6f 6e 20 | 66 72 61 67 6d 65 6e 74 |ased on |fragment|
|00004080| 73 29 20 77 69 6c 6c 20 | 62 65 20 69 6e 63 6c 75 |s) will |be inclu|
|00004090| 64 65 64 20 69 6e 20 66 | 75 74 75 72 65 20 76 65 |ded in f|uture ve|
|000040a0| 72 73 69 6f 6e 73 20 6f | 66 20 74 68 65 20 73 79 |rsions o|f the sy|
|000040b0| 73 74 65 6d 20 73 6f 66 | 74 77 61 72 65 20 66 6f |stem sof|tware fo|
|000040c0| 72 20 36 38 30 78 30 2d | 62 61 73 65 64 20 4d 61 |r 680x0-|based Ma|
|000040d0| 63 69 6e 74 6f 73 68 20 | 63 6f 6d 70 75 74 65 72 |cintosh |computer|
|000040e0| 73 2e 20 41 73 20 61 20 | 72 65 73 75 6c 74 2c 20 |s. As a |result, |
|000040f0| 73 6f 6d 65 20 6f 66 20 | 74 68 65 20 69 6e 66 6f |some of |the info|
|00004100| 72 6d 61 74 69 6f 6e 20 | 69 6e 20 74 68 69 73 20 |rmation |in this |
|00004110| 62 6f 6f 6b 20 6d 69 67 | 68 74 20 65 76 65 6e 74 |book mig|ht event|
|00004120| 75 61 6c 6c 79 20 62 65 | 20 6d 6f 72 65 20 67 65 |ually be| more ge|
|00004130| 6e 65 72 61 6c 6c 79 20 | 61 70 70 6c 69 63 61 62 |nerally |applicab|
|00004140| 6c 65 20 74 68 61 6e 20 | 74 68 65 20 74 69 74 6c |le than |the titl|
|00004150| 65 20 6f 66 20 74 68 69 | 73 20 62 6f 6f 6b 20 6d |e of thi|s book m|
|00004160| 69 67 68 74 20 73 75 67 | 67 65 73 74 2e 13 73 0d |ight sug|gest..s.|
|00004170| 0d 49 66 20 79 6f 75 20 | 61 72 65 20 6e 65 77 20 |.If you |are new |
|00004180| 74 6f 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 66 |to progr|amming f|
|00004190| 6f 72 20 4d 61 63 69 6e | 74 6f 73 68 20 63 6f 6d |or Macin|tosh com|
|000041a0| 70 75 74 65 72 73 2c 20 | 79 6f 75 20 73 68 6f 75 |puters, |you shou|
|000041b0| 6c 64 20 72 65 61 64 20 | 74 68 65 20 62 6f 6f 6b |ld read |the book|
|000041c0| 20 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 | Inside |Macintos|
|000041d0| 68 3a 20 4f 76 65 72 76 | 69 65 77 20 66 6f 72 20 |h: Overv|iew for |
|000041e0| 61 6e 20 69 6e 74 72 6f | 64 75 63 74 69 6f 6e 20 |an intro|duction |
|000041f0| 74 6f 20 67 65 6e 65 72 | 61 6c 20 63 6f 6e 63 65 |to gener|al conce|
|00004200| 70 74 73 20 0d 6f 66 20 | 4d 61 63 69 6e 74 6f 73 |pts .of |Macintos|
|00004210| 68 20 70 72 6f 67 72 61 | 6d 6d 69 6e 67 2e 20 59 |h progra|mming. Y|
|00004220| 6f 75 20 73 68 6f 75 6c | 64 20 61 6c 73 6f 20 72 |ou shoul|d also r|
|00004230| 65 61 64 20 6f 74 68 65 | 72 20 62 6f 6f 6b 73 20 |ead othe|r books |
|00004240| 69 6e 20 74 68 65 20 49 | 6e 73 69 64 65 20 4d 61 |in the I|nside Ma|
|00004250| 63 69 6e 74 6f 73 68 20 | 73 65 72 69 65 73 20 66 |cintosh |series f|
|00004260| 6f 72 20 73 70 65 63 69 | 66 69 63 20 69 6e 66 6f |or speci|fic info|
|00004270| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 6f 74 |rmation |about ot|
|00004280| 68 65 72 20 61 73 70 65 | 63 74 73 20 6f 66 20 74 |her aspe|cts of t|
|00004290| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 54 6f 6f |he Macin|tosh Too|
|000042a0| 6c 62 6f 78 20 61 6e 64 | 20 74 68 65 20 4d 61 63 |lbox and| the Mac|
|000042b0| 69 6e 74 6f 73 68 20 4f | 70 65 72 61 74 69 6e 67 |intosh O|perating|
|000042c0| 20 53 79 73 74 65 6d 2e | 20 49 6e 20 70 61 72 74 | System.| In part|
|000042d0| 69 63 75 6c 61 72 2c 20 | 74 6f 20 62 65 6e 65 66 |icular, |to benef|
|000042e0| 69 74 20 6d 6f 73 74 20 | 66 72 6f 6d 20 74 68 69 |it most |from thi|
|000042f0| 73 20 62 6f 6f 6b 2c 20 | 79 6f 75 20 73 68 6f 75 |s book, |you shou|
|00004300| 6c 64 20 61 6c 72 65 61 | 64 79 20 62 65 20 66 61 |ld alrea|dy be fa|
|00004310| 6d 69 6c 69 61 72 20 77 | 69 74 68 20 74 68 65 20 |miliar w|ith the |
|00004320| 72 75 6e 2d 74 69 6d 65 | 20 65 6e 76 69 72 6f 6e |run-time| environ|
|00004330| 6d 65 6e 74 20 6f 66 20 | 36 38 30 78 30 20 61 70 |ment of |680x0 ap|
|00004340| 70 6c 69 63 61 74 69 6f | 6e 73 2c 20 61 73 20 64 |plicatio|ns, as d|
|00004350| 65 73 63 72 69 62 65 64 | 20 69 6e 20 74 68 65 20 |escribed| in the |
|00004360| 74 77 6f 20 62 6f 6f 6b | 73 20 49 6e 73 69 64 65 |two book|s Inside|
|00004370| 20 4d 61 63 69 6e 74 6f | 73 68 3a 20 50 72 6f 63 | Macinto|sh: Proc|
|00004380| 65 73 73 65 73 20 61 6e | 64 20 49 6e 73 69 64 65 |esses an|d Inside|
|00004390| 20 4d 61 63 69 6e 74 6f | 73 68 3a 20 4d 65 6d 6f | Macinto|sh: Memo|
|000043a0| 72 79 2e 0d 0d 0d 52 65 | 6c 61 74 65 64 20 44 6f |ry....Re|lated Do|
|000043b0| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 0d 0d 54 68 69 |cumentat|ion..Thi|
|000043c0| 73 20 62 6f 6f 6b 20 69 | 73 20 70 61 72 74 20 6f |s book i|s part o|
|000043d0| 66 20 61 20 6c 61 72 67 | 65 72 20 73 75 69 74 65 |f a larg|er suite|
|000043e0| 20 6f 66 20 62 6f 6f 6b | 73 20 74 68 61 74 20 63 | of book|s that c|
|000043f0| 6f 6e 74 61 69 6e 20 69 | 6e 66 6f 72 6d 61 74 69 |ontain i|nformati|
|00004400| 6f 6e 20 65 73 73 65 6e | 74 69 61 6c 20 66 6f 72 |on essen|tial for|
|00004410| 20 64 65 76 65 6c 6f 70 | 69 6e 67 20 50 6f 77 65 | develop|ing Powe|
|00004420| 72 50 43 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |rPC appl|ications|
|00004430| 20 61 6e 64 20 6f 74 68 | 65 72 20 73 6f 66 74 77 | and oth|er softw|
|00004440| 61 72 65 2e 0d 6e 09 46 | 6f 72 20 69 6e 66 6f 72 |are..n.F|or infor|
|00004450| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 74 68 65 |mation a|bout the|
|00004460| 20 50 50 43 43 20 63 6f | 6d 70 69 6c 65 72 20 74 | PPCC co|mpiler t|
|00004470| 68 61 74 20 79 6f 75 20 | 63 61 6e 20 75 73 65 20 |hat you |can use |
|00004480| 74 6f 20 63 6f 6d 70 69 | 6c 65 20 79 6f 75 72 20 |to compi|le your |
|00004490| 73 6f 75 72 63 65 20 63 | 6f 64 65 20 69 6e 74 6f |source c|ode into|
|000044a0| 20 61 20 50 6f 77 65 72 | 50 43 20 61 70 70 6c 69 | a Power|PC appli|
|000044b0| 63 61 74 69 6f 6e 2c 20 | 73 65 65 20 74 68 65 20 |cation, |see the |
|000044c0| 62 6f 6f 6b 20 43 2f 43 | 2b 2b 20 43 6f 6d 70 69 |book C/C|++ Compi|
|000044d0| 6c 65 72 20 66 6f 72 20 | 4d 61 63 69 6e 74 6f 73 |ler for |Macintos|
|000044e0| 68 20 57 69 74 68 20 50 | 6f 77 65 72 50 43 2e 0d |h With P|owerPC..|
|000044f0| 6e 09 46 6f 72 20 69 6e | 66 6f 72 6d 61 74 69 6f |n.For in|formatio|
|00004500| 6e 20 61 62 6f 75 74 20 | 74 68 65 20 50 50 43 41 |n about |the PPCA|
|00004510| 73 6d 20 61 73 73 65 6d | 62 6c 65 72 2c 20 73 65 |sm assem|bler, se|
|00004520| 65 20 74 68 65 20 62 6f | 6f 6b 20 41 73 73 65 6d |e the bo|ok Assem|
|00004530| 62 6c 65 72 20 66 6f 72 | 20 4d 61 63 69 6e 74 6f |bler for| Macinto|
|00004540| 73 68 20 57 69 74 68 20 | 50 6f 77 65 72 50 43 2e |sh With |PowerPC.|
|00004550| 0d 6e 09 46 6f 72 20 69 | 6e 66 6f 72 6d 61 74 69 |.n.For i|nformati|
|00004560| 6f 6e 20 61 62 6f 75 74 | 20 64 65 62 75 67 67 69 |on about| debuggi|
|00004570| 6e 67 20 61 6e 64 20 6d | 65 61 73 75 72 69 6e 67 |ng and m|easuring|
|00004580| 20 74 68 65 20 70 65 72 | 66 6f 72 6d 61 6e 63 65 | the per|formance|
|00004590| 20 6f 66 20 50 6f 77 65 | 72 50 43 20 61 70 70 6c | of Powe|rPC appl|
|000045a0| 69 63 61 74 69 6f 6e 73 | 2c 20 73 65 65 20 74 68 |ications|, see th|
|000045b0| 65 20 62 6f 6f 6b 20 4d | 61 63 69 6e 74 6f 73 68 |e book M|acintosh|
|000045c0| 20 44 65 62 75 67 67 65 | 72 20 52 65 66 65 72 65 | Debugge|r Refere|
|000045d0| 6e 63 65 2e 0d 6e 09 46 | 6f 72 20 69 6e 66 6f 72 |nce..n.F|or infor|
|000045e0| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 70 65 72 |mation a|bout per|
|000045f0| 66 6f 72 6d 69 6e 67 20 | 66 6c 6f 61 74 69 6e 67 |forming |floating|
|00004600| 2d 70 6f 69 6e 74 20 63 | 61 6c 63 75 6c 61 74 69 |-point c|alculati|
|00004610| 6f 6e 73 20 69 6e 20 50 | 6f 77 65 72 50 43 20 61 |ons in P|owerPC a|
|00004620| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2c 20 73 65 65 |pplicati|ons, see|
|00004630| 20 74 68 65 20 62 6f 6f | 6b 20 49 6e 73 69 64 65 | the boo|k Inside|
|00004640| 20 4d 61 63 69 6e 74 6f | 73 68 3a 20 50 6f 77 65 | Macinto|sh: Powe|
|00004650| 72 50 43 20 4e 75 6d 65 | 72 69 63 73 2e 0d 6e 09 |rPC Nume|rics..n.|
|00004660| 46 6f 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |For info|rmation |
|00004670| 61 62 6f 75 74 20 62 75 | 69 6c 64 69 6e 67 20 50 |about bu|ilding P|
|00004680| 6f 77 65 72 50 43 20 61 | 70 70 6c 69 63 61 74 69 |owerPC a|pplicati|
|00004690| 6f 6e 73 20 61 6e 64 20 | 6f 74 68 65 72 20 6b 69 |ons and |other ki|
|000046a0| 6e 64 73 20 6f 66 20 50 | 6f 77 65 72 50 43 20 73 |nds of P|owerPC s|
|000046b0| 6f 66 74 77 61 72 65 20 | 66 6f 72 20 4d 61 63 69 |oftware |for Maci|
|000046c0| 6e 74 6f 73 68 20 63 6f | 6d 70 75 74 65 72 73 2c |ntosh co|mputers,|
|000046d0| 20 73 65 65 20 42 75 69 | 6c 64 69 6e 67 20 50 72 | see Bui|lding Pr|
|000046e0| 6f 67 72 61 6d 73 20 66 | 6f 72 20 4d 61 63 69 6e |ograms f|or Macin|
|000046f0| 74 6f 73 68 20 57 69 74 | 68 20 50 6f 77 65 72 50 |tosh Wit|h PowerP|
|00004700| 43 2e 0d 0d 46 6f 72 6d | 61 74 20 6f 66 20 61 20 |C...Form|at of a |
|00004710| 54 79 70 69 63 61 6c 20 | 43 68 61 70 74 65 72 0d |Typical |Chapter.|
|00004720| 0d 41 6c 6d 6f 73 74 20 | 61 6c 6c 20 63 68 61 70 |.Almost |all chap|
|00004730| 74 65 72 73 20 69 6e 20 | 74 68 69 73 20 62 6f 6f |ters in |this boo|
|00004740| 6b 20 66 6f 6c 6c 6f 77 | 20 61 20 73 74 61 6e 64 |k follow| a stand|
|00004750| 61 72 64 20 73 74 72 75 | 63 74 75 72 65 2e 20 46 |ard stru|cture. F|
|00004760| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 68 65 20 |or examp|le, the |
|00004770| 63 68 61 70 74 65 72 20 | d2 4d 69 78 65 64 20 4d |chapter |.Mixed M|
|00004780| 6f 64 65 20 4d 61 6e 61 | 67 65 72 d3 20 63 6f 6e |ode Mana|ger. con|
|00004790| 74 61 69 6e 73 20 74 68 | 65 73 65 20 73 65 63 74 |tains th|ese sect|
|000047a0| 69 6f 6e 73 3a 0d 6e 09 | d2 41 62 6f 75 74 20 74 |ions:.n.|.About t|
|000047b0| 68 65 20 4d 69 78 65 64 | 20 4d 6f 64 65 20 4d 61 |he Mixed| Mode Ma|
|000047c0| 6e 61 67 65 72 2e d3 20 | 54 68 69 73 20 73 65 63 |nager.. |This sec|
|000047d0| 74 69 6f 6e 20 64 65 73 | 63 72 69 62 65 73 20 74 |tion des|cribes t|
|000047e0| 68 65 20 4d 69 78 65 64 | 20 4d 6f 64 65 20 4d 61 |he Mixed| Mode Ma|
|000047f0| 6e 61 67 65 72 2e 20 59 | 6f 75 20 73 68 6f 75 6c |nager. Y|ou shoul|
|00004800| 64 20 72 65 61 64 20 74 | 68 69 73 20 73 65 63 74 |d read t|his sect|
|00004810| 69 6f 6e 20 66 6f 72 20 | 61 20 67 65 6e 65 72 61 |ion for |a genera|
|00004820| 6c 20 75 6e 64 65 72 73 | 74 61 6e 64 69 6e 67 20 |l unders|tanding |
|00004830| 6f 66 20 0d 77 68 61 74 | 20 74 68 65 20 4d 69 78 |of .what| the Mix|
|00004840| 65 64 20 4d 6f 64 65 20 | 4d 61 6e 61 67 65 72 20 |ed Mode |Manager |
|00004850| 64 6f 65 73 20 61 6e 64 | 20 77 68 65 6e 20 79 6f |does and| when yo|
|00004860| 75 20 6d 69 67 68 74 20 | 6e 65 65 64 20 74 6f 20 |u might |need to |
|00004870| 63 61 6c 6c 20 0d 69 74 | 20 65 78 70 6c 69 63 69 |call .it| explici|
|00004880| 74 6c 79 2e 0d 6e 09 d2 | 55 73 69 6e 67 20 74 68 |tly..n..|Using th|
|00004890| 65 20 4d 69 78 65 64 20 | 4d 6f 64 65 20 4d 61 6e |e Mixed |Mode Man|
|000048a0| 61 67 65 72 2e d3 20 54 | 68 69 73 20 73 65 63 74 |ager.. T|his sect|
|000048b0| 69 6f 6e 20 70 72 6f 76 | 69 64 65 73 20 64 65 74 |ion prov|ides det|
|000048c0| 61 69 6c 65 64 20 69 6e | 73 74 72 75 63 2d 0d 74 |ailed in|struc-.t|
|000048d0| 69 6f 6e 73 20 6f 6e 20 | 75 73 69 6e 67 20 74 68 |ions on |using th|
|000048e0| 65 20 4d 69 78 65 64 20 | 4d 6f 64 65 20 4d 61 6e |e Mixed |Mode Man|
|000048f0| 61 67 65 72 2e 20 59 6f | 75 20 73 68 6f 75 6c 64 |ager. Yo|u should|
|00004900| 20 72 65 61 64 20 74 68 | 69 73 20 73 65 63 74 69 | read th|is secti|
|00004910| 6f 6e 20 69 66 20 79 6f | 75 20 6e 65 65 64 20 74 |on if yo|u need t|
|00004920| 6f 20 75 73 65 20 74 68 | 65 20 73 65 72 76 69 63 |o use th|e servic|
|00004930| 65 73 20 70 72 6f 76 69 | 64 65 64 20 62 79 20 74 |es provi|ded by t|
|00004940| 68 65 20 4d 69 78 65 64 | 20 4d 6f 64 65 20 4d 61 |he Mixed| Mode Ma|
|00004950| 6e 61 67 65 72 2e 0d 6e | 09 d2 4d 69 78 65 64 20 |nager..n|..Mixed |
|00004960| 4d 6f 64 65 20 4d 61 6e | 61 67 65 72 20 52 65 66 |Mode Man|ager Ref|
|00004970| 65 72 65 6e 63 65 2e d3 | 20 54 68 69 73 20 73 65 |erence..| This se|
|00004980| 63 74 69 6f 6e 20 70 72 | 6f 76 69 64 65 73 20 61 |ction pr|ovides a|
|00004990| 20 63 6f 6d 70 6c 65 74 | 65 20 72 65 66 65 72 65 | complet|e refere|
|000049a0| 6e 63 65 20 74 6f 20 74 | 68 65 20 63 6f 6e 73 74 |nce to t|he const|
|000049b0| 61 6e 74 73 2c 20 64 61 | 74 61 20 73 74 72 75 63 |ants, da|ta struc|
|000049c0| 74 75 72 65 73 2c 20 61 | 6e 64 20 72 6f 75 74 69 |tures, a|nd routi|
|000049d0| 6e 65 73 20 70 72 6f 76 | 69 64 65 64 20 62 79 20 |nes prov|ided by |
|000049e0| 74 68 65 20 4d 69 78 65 | 64 20 4d 6f 64 65 20 4d |the Mixe|d Mode M|
|000049f0| 61 6e 61 67 65 72 2e 20 | 45 61 63 68 20 72 6f 75 |anager. |Each rou|
|00004a00| 74 69 6e 65 20 64 65 73 | 63 72 69 70 74 69 6f 6e |tine des|cription|
|00004a10| 20 61 6c 73 6f 20 66 6f | 6c 6c 6f 77 73 20 61 20 | also fo|llows a |
|00004a20| 73 74 61 6e 64 61 72 64 | 20 66 6f 72 6d 61 74 2c |standard| format,|
|00004a30| 20 77 68 69 63 68 20 70 | 72 65 73 65 6e 74 73 20 | which p|resents |
|00004a40| 74 68 65 20 72 6f 75 74 | 69 6e 65 20 64 65 63 6c |the rout|ine decl|
|00004a50| 61 72 61 74 69 6f 6e 20 | 66 6f 6c 6c 6f 77 65 64 |aration |followed|
|00004a60| 20 62 79 20 61 20 64 65 | 73 63 72 69 70 74 69 6f | by a de|scriptio|
|00004a70| 6e 20 0d 6f 66 20 65 76 | 65 72 79 20 70 61 72 61 |n .of ev|ery para|
|00004a80| 6d 65 74 65 72 20 6f 66 | 20 74 68 65 20 72 6f 75 |meter of| the rou|
|00004a90| 74 69 6e 65 2e 20 53 6f | 6d 65 20 72 6f 75 74 69 |tine. So|me routi|
|00004aa0| 6e 65 20 64 65 73 63 72 | 69 70 74 69 6f 6e 73 20 |ne descr|iptions |
|00004ab0| 61 6c 73 6f 20 67 69 76 | 65 20 61 64 64 69 74 69 |also giv|e additi|
|00004ac0| 6f 6e 61 6c 20 64 65 73 | 63 72 69 70 74 69 76 65 |onal des|criptive|
|00004ad0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2c 20 73 75 | informa|tion, su|
|00004ae0| 63 68 20 61 73 20 63 69 | 72 63 75 6d 73 74 61 6e |ch as ci|rcumstan|
|00004af0| 63 65 73 20 75 6e 64 65 | 72 20 77 68 69 63 68 20 |ces unde|r which |
|00004b00| 79 6f 75 20 63 61 6e 6e | 6f 74 20 63 61 6c 6c 20 |you cann|ot call |
|00004b10| 74 68 65 20 72 6f 75 74 | 69 6e 65 20 6f 72 20 72 |the rout|ine or r|
|00004b20| 65 73 75 6c 74 20 63 6f | 64 65 73 2e 0d 6e 09 d2 |esult co|des..n..|
|00004b30| 53 75 6d 6d 61 72 79 20 | 6f 66 20 74 68 65 20 4d |Summary |of the M|
|00004b40| 69 78 65 64 20 4d 6f 64 | 65 20 4d 61 6e 61 67 65 |ixed Mod|e Manage|
|00004b50| 72 2e d3 20 54 68 69 73 | 20 73 65 63 74 69 6f 6e |r.. This| section|
|00004b60| 20 70 72 6f 76 69 64 65 | 73 20 74 68 65 20 43 20 | provide|s the C |
|00004b70| 69 6e 74 65 72 66 61 63 | 65 73 20 66 6f 72 20 74 |interfac|es for t|
|00004b80| 68 65 20 63 6f 6e 73 74 | 61 6e 74 73 2c 20 64 61 |he const|ants, da|
|00004b90| 74 61 20 73 74 72 75 63 | 74 75 72 65 73 2c 20 72 |ta struc|tures, r|
|00004ba0| 6f 75 74 69 6e 65 73 2c | 20 61 6e 64 20 72 65 73 |outines,| and res|
|00004bb0| 75 6c 74 20 63 6f 64 65 | 73 20 61 73 73 6f 63 69 |ult code|s associ|
|00004bc0| 61 74 65 64 20 77 69 74 | 68 20 74 68 65 20 4d 69 |ated wit|h the Mi|
|00004bd0| 78 65 64 20 4d 6f 64 65 | 20 4d 61 6e 61 67 65 72 |xed Mode| Manager|
|00004be0| 2e 20 0d 0d 0d 43 6f 6e | 76 65 6e 74 69 6f 6e 73 |. ...Con|ventions|
|00004bf0| 20 55 73 65 64 20 69 6e | 20 54 68 69 73 20 42 6f | Used in| This Bo|
|00004c00| 6f 6b 0d 0d 49 6e 73 69 | 64 65 20 4d 61 63 69 6e |ok..Insi|de Macin|
|00004c10| 74 6f 73 68 20 75 73 65 | 73 20 76 61 72 69 6f 75 |tosh use|s variou|
|00004c20| 73 20 63 6f 6e 76 65 6e | 74 69 6f 6e 73 20 74 6f |s conven|tions to|
|00004c30| 20 70 72 65 73 65 6e 74 | 20 69 6e 66 6f 72 6d 61 | present| informa|
|00004c40| 74 69 6f 6e 2e 20 57 6f | 72 64 73 20 74 68 61 74 |tion. Wo|rds that|
|00004c50| 20 72 65 71 75 69 72 65 | 20 73 70 65 63 69 61 6c | require| special|
|00004c60| 20 74 72 65 61 74 6d 65 | 6e 74 20 61 70 70 65 61 | treatme|nt appea|
|00004c70| 72 20 69 6e 20 73 70 65 | 63 69 66 69 63 20 66 6f |r in spe|cific fo|
|00004c80| 6e 74 73 20 6f 72 20 66 | 6f 6e 74 20 73 74 79 6c |nts or f|ont styl|
|00004c90| 65 73 2e 20 43 65 72 74 | 61 69 6e 20 69 6e 66 6f |es. Cert|ain info|
|00004ca0| 72 6d 61 74 69 6f 6e 2c | 20 73 75 63 68 20 61 73 |rmation,| such as|
|00004cb0| 20 70 61 72 61 6d 65 74 | 65 72 20 62 6c 6f 63 6b | paramet|er block|
|00004cc0| 73 2c 20 61 70 70 65 61 | 72 73 20 69 6e 20 73 70 |s, appea|rs in sp|
|00004cd0| 65 63 69 61 6c 20 66 6f | 72 6d 61 74 73 20 73 6f |ecial fo|rmats so|
|00004ce0| 20 74 68 61 74 20 79 6f | 75 20 63 61 6e 20 73 63 | that yo|u can sc|
|00004cf0| 61 6e 20 69 74 20 71 75 | 69 63 6b 6c 79 2e 0d 0d |an it qu|ickly...|
|00004d00| 53 70 65 63 69 61 6c 20 | 46 6f 6e 74 73 0d 0d 41 |Special |Fonts..A|
|00004d10| 6c 6c 20 63 6f 64 65 20 | 6c 69 73 74 69 6e 67 73 |ll code |listings|
|00004d20| 2c 20 72 65 73 65 72 76 | 65 64 20 77 6f 72 64 73 |, reserv|ed words|
|00004d30| 2c 20 61 6e 64 20 74 68 | 65 20 6e 61 6d 65 73 20 |, and th|e names |
|00004d40| 6f 66 20 61 63 74 75 61 | 6c 20 64 61 74 61 20 73 |of actua|l data s|
|00004d50| 74 72 75 63 74 75 72 65 | 73 2c 20 63 6f 6e 73 74 |tructure|s, const|
|00004d60| 61 6e 74 73 2c 20 66 69 | 65 6c 64 73 2c 20 70 61 |ants, fi|elds, pa|
|00004d70| 72 61 6d 65 74 65 72 73 | 2c 20 61 6e 64 20 72 6f |rameters|, and ro|
|00004d80| 75 74 69 6e 65 73 20 61 | 72 65 20 73 68 6f 77 6e |utines a|re shown|
|00004d90| 20 69 6e 20 43 6f 75 72 | 69 65 72 20 28 74 68 69 | in Cour|ier (thi|
|00004da0| 73 20 69 73 20 43 6f 75 | 72 69 65 72 29 2e 0d 57 |s is Cou|rier)..W|
|00004db0| 6f 72 64 73 20 74 68 61 | 74 20 61 70 70 65 61 72 |ords tha|t appear|
|00004dc0| 20 69 6e 20 62 6f 6c 64 | 66 61 63 65 20 61 72 65 | in bold|face are|
|00004dd0| 20 6b 65 79 20 74 65 72 | 6d 73 20 6f 72 20 63 6f | key ter|ms or co|
|00004de0| 6e 63 65 70 74 73 20 61 | 6e 64 20 61 72 65 20 64 |ncepts a|nd are d|
|00004df0| 65 66 69 6e 65 64 20 69 | 6e 20 74 68 65 20 67 6c |efined i|n the gl|
|00004e00| 6f 73 73 61 72 79 20 61 | 74 20 74 68 65 20 65 6e |ossary a|t the en|
|00004e10| 64 20 6f 66 20 74 68 69 | 73 20 62 6f 6f 6b 2e 20 |d of thi|s book. |
|00004e20| 4e 6f 74 65 20 74 68 61 | 74 20 6e 75 6d 65 72 69 |Note tha|t numeri|
|00004e30| 63 61 6c 20 65 6e 74 72 | 69 65 73 20 28 66 6f 72 |cal entr|ies (for|
|00004e40| 20 65 78 61 6d 70 6c 65 | 2c 20 33 32 2d 62 69 74 | example|, 32-bit|
|00004e50| 20 63 6c 65 61 6e 29 20 | 61 72 65 20 73 6f 72 74 | clean) |are sort|
|00004e60| 65 64 20 62 65 66 6f 72 | 65 20 61 6c 6c 20 61 6c |ed befor|e all al|
|00004e70| 70 68 61 62 65 74 69 63 | 61 6c 20 65 6e 74 72 69 |phabetic|al entri|
|00004e80| 65 73 20 69 6e 20 74 68 | 65 20 67 6c 6f 73 73 61 |es in th|e glossa|
|00004e90| 72 79 20 61 6e 64 20 69 | 6e 20 74 68 65 20 69 6e |ry and i|n the in|
|00004ea0| 64 65 78 2e 0d 0d 54 79 | 70 65 73 20 6f 66 20 4e |dex...Ty|pes of N|
|00004eb0| 6f 74 65 73 0d 0d 54 68 | 65 72 65 20 61 72 65 20 |otes..Th|ere are |
|00004ec0| 73 65 76 65 72 61 6c 20 | 74 79 70 65 73 20 6f 66 |several |types of|
|00004ed0| 20 6e 6f 74 65 73 20 75 | 73 65 64 20 69 6e 20 49 | notes u|sed in I|
|00004ee0| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 2e |nside Ma|cintosh.|
|00004ef0| 0d 4e 6f 74 65 0d 41 20 | 6e 6f 74 65 20 6c 69 6b |.Note.A |note lik|
|00004f00| 65 20 74 68 69 73 20 63 | 6f 6e 74 61 69 6e 73 20 |e this c|ontains |
|00004f10| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 74 68 61 74 |informat|ion that|
|00004f20| 20 69 73 20 69 6e 74 65 | 72 65 73 74 69 6e 67 20 | is inte|resting |
|00004f30| 62 75 74 20 70 6f 73 73 | 69 62 6c 79 20 6e 6f 74 |but poss|ibly not|
|00004f40| 20 65 73 73 65 6e 74 69 | 61 6c 20 74 6f 20 61 6e | essenti|al to an|
|00004f50| 20 75 6e 64 65 72 73 74 | 61 6e 64 69 6e 67 20 6f | underst|anding o|
|00004f60| 66 20 74 68 65 20 6d 61 | 69 6e 20 74 65 78 74 2e |f the ma|in text.|
|00004f70| 20 28 41 6e 20 65 78 61 | 6d 70 6c 65 20 61 70 70 | (An exa|mple app|
|00004f80| 65 61 72 73 20 6f 6e 20 | 70 61 67 65 20 31 2d 36 |ears on |page 1-6|
|00004f90| 2e 29 13 75 0d 0d 49 4d | 50 4f 52 54 41 4e 54 0d |.).u..IM|PORTANT.|
|00004fa0| 41 20 6e 6f 74 65 20 6c | 69 6b 65 20 74 68 69 73 |A note l|ike this|
|00004fb0| 20 63 6f 6e 74 61 69 6e | 73 20 69 6e 66 6f 72 6d | contain|s inform|
|00004fc0| 61 74 69 6f 6e 20 74 68 | 61 74 20 69 73 20 65 73 |ation th|at is es|
|00004fd0| 73 65 6e 74 69 61 6c 20 | 66 6f 72 20 61 6e 20 75 |sential |for an u|
|00004fe0| 6e 64 65 72 73 74 61 6e | 64 69 6e 67 20 6f 66 20 |nderstan|ding of |
|00004ff0| 74 68 65 20 6d 61 69 6e | 20 74 65 78 74 2e 20 28 |the main| text. (|
|00005000| 41 6e 20 65 78 61 6d 70 | 6c 65 20 61 70 70 65 61 |An examp|le appea|
|00005010| 72 73 20 6f 6e 20 70 61 | 67 65 20 31 2d 31 39 2e |rs on pa|ge 1-19.|
|00005020| 29 13 73 0d 0d 73 57 41 | 52 4e 49 4e 47 0d 57 61 |).s..sWA|RNING.Wa|
|00005030| 72 6e 69 6e 67 73 20 6c | 69 6b 65 20 74 68 69 73 |rnings l|ike this|
|00005040| 20 69 6e 64 69 63 61 74 | 65 20 70 6f 74 65 6e 74 | indicat|e potent|
|00005050| 69 61 6c 20 70 72 6f 62 | 6c 65 6d 73 20 74 68 61 |ial prob|lems tha|
|00005060| 74 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 62 65 20 |t you sh|ould be |
|00005070| 61 77 61 72 65 20 6f 66 | 20 61 73 20 79 6f 75 20 |aware of| as you |
|00005080| 64 65 73 69 67 6e 20 79 | 6f 75 72 20 61 70 70 6c |design y|our appl|
|00005090| 69 63 61 74 69 6f 6e 2e | 20 46 61 69 6c 75 72 65 |ication.| Failure|
|000050a0| 20 74 6f 20 68 65 65 64 | 20 74 68 65 73 65 20 77 | to heed| these w|
|000050b0| 61 72 6e 69 6e 67 73 20 | 0d 63 6f 75 6c 64 20 72 |arnings |.could r|
|000050c0| 65 73 75 6c 74 20 69 6e | 20 73 79 73 74 65 6d 20 |esult in| system |
|000050d0| 63 72 61 73 68 65 73 20 | 6f 72 20 6c 6f 73 73 20 |crashes |or loss |
|000050e0| 6f 66 20 64 61 74 61 2e | 20 28 41 6e 20 65 78 61 |of data.| (An exa|
|000050f0| 6d 70 6c 65 20 61 70 70 | 65 61 72 73 20 6f 6e 20 |mple app|ears on |
|00005100| 70 61 67 65 20 31 2d 38 | 2e 29 13 73 0d 0d 0d 42 |page 1-8|.).s...B|
|00005110| 69 74 20 4e 75 6d 62 65 | 72 69 6e 67 20 61 6e 64 |it Numbe|ring and|
|00005120| 20 57 6f 72 64 20 53 69 | 7a 65 0d 0d 54 68 69 73 | Word Si|ze..This|
|00005130| 20 62 6f 6f 6b 20 64 65 | 70 61 72 74 73 20 66 72 | book de|parts fr|
|00005140| 6f 6d 20 74 68 65 20 63 | 6f 6e 76 65 6e 74 69 6f |om the c|onventio|
|00005150| 6e 73 20 66 6f 6c 6c 6f | 77 65 64 20 69 6e 20 70 |ns follo|wed in p|
|00005160| 72 65 76 69 6f 75 73 20 | 49 6e 73 69 64 65 20 4d |revious |Inside M|
|00005170| 61 63 69 6e 74 6f 73 68 | 20 62 6f 6f 6b 73 20 69 |acintosh| books i|
|00005180| 6e 20 72 65 67 61 72 64 | 20 74 6f 20 74 68 65 20 |n regard| to the |
|00005190| 6e 75 6d 62 65 72 69 6e | 67 20 6f 66 20 62 69 74 |numberin|g of bit|
|000051a0| 73 20 77 69 74 68 69 6e | 20 61 20 72 61 6e 67 65 |s within| a range|
|000051b0| 20 6f 66 20 64 61 74 61 | 2e 20 50 72 65 76 69 6f | of data|. Previo|
|000051c0| 75 73 6c 79 2c 20 66 6f | 72 20 65 78 61 6d 70 6c |usly, fo|r exampl|
|000051d0| 65 2c 20 74 68 65 20 62 | 69 74 73 20 69 6e 20 61 |e, the b|its in a|
|000051e0| 20 33 32 2d 62 69 74 20 | 64 61 74 61 20 74 79 70 | 32-bit |data typ|
|000051f0| 65 20 77 65 72 65 20 6e | 75 6d 62 65 72 65 64 20 |e were n|umbered |
|00005200| 30 20 74 6f 20 33 31 2c | 20 66 72 6f 6d 20 72 69 |0 to 31,| from ri|
|00005210| 67 68 74 20 74 6f 20 6c | 65 66 74 2c 20 61 73 20 |ght to l|eft, as |
|00005220| 73 68 6f 77 6e 20 69 6e | 20 46 69 67 75 72 65 20 |shown in| Figure |
|00005230| 50 2d 31 20 6f 6e 20 74 | 68 65 20 66 6f 6c 6c 6f |P-1 on t|he follo|
|00005240| 77 69 6e 67 20 70 61 67 | 65 2e 20 54 68 65 20 6c |wing pag|e. The l|
|00005250| 65 61 73 74 20 73 69 67 | 6e 69 66 69 63 61 6e 74 |east sig|nificant|
|00005260| 20 62 69 74 20 6f 66 20 | 61 20 33 32 2d 62 69 74 | bit of |a 32-bit|
|00005270| 20 64 61 74 61 20 74 79 | 70 65 20 77 61 73 20 61 | data ty|pe was a|
|00005280| 64 64 72 65 73 73 65 64 | 20 61 73 20 62 69 74 20 |ddressed| as bit |
|00005290| 30 2c 20 61 6e 64 20 74 | 68 65 20 6d 6f 73 74 20 |0, and t|he most |
|000052a0| 73 69 67 6e 69 66 69 63 | 61 6e 74 20 62 69 74 20 |signific|ant bit |
|000052b0| 77 61 73 20 61 64 64 72 | 65 73 73 65 64 20 61 73 |was addr|essed as|
|000052c0| 20 62 69 74 20 33 31 2e | 20 54 68 69 73 20 63 6f | bit 31.| This co|
|000052d0| 6e 76 65 6e 74 69 6f 6e | 20 77 61 73 20 69 6e 20 |nvention| was in |
|000052e0| 61 63 63 6f 72 64 61 6e | 63 65 20 77 69 74 68 20 |accordan|ce with |
|000052f0| 74 68 61 74 20 75 73 65 | 64 20 62 79 20 4d 6f 74 |that use|d by Mot|
|00005300| 6f 72 6f 6c 61 20 69 6e | 20 74 68 65 20 62 6f 6f |orola in| the boo|
|00005310| 6b 73 20 64 6f 63 75 6d | 65 6e 74 69 6e 67 20 74 |ks docum|enting t|
|00005320| 68 65 69 72 20 36 38 30 | 78 30 20 66 61 6d 69 6c |heir 680|x0 famil|
|00005330| 79 20 6f 66 20 6d 69 63 | 72 6f 70 72 6f 63 65 73 |y of mic|roproces|
|00005340| 73 6f 72 73 20 28 66 6f | 72 20 65 78 61 6d 70 6c |sors (fo|r exampl|
|00005350| 65 2c 20 74 68 65 20 4d | 43 36 38 30 34 30 20 33 |e, the M|C68040 3|
|00005360| 32 2d 42 69 74 20 4d 69 | 63 72 6f 70 72 6f 63 65 |2-Bit Mi|croproce|
|00005370| 73 73 6f 72 20 55 73 65 | 72 d5 73 20 4d 61 6e 75 |ssor Use|r.s Manu|
|00005380| 61 6c 29 2e 0d 0d 46 69 | 67 75 72 65 20 50 2d 31 |al)...Fi|gure P-1|
|00005390| 09 36 38 30 78 30 20 62 | 69 74 20 6e 75 6d 62 65 |.680x0 b|it numbe|
|000053a0| 72 69 6e 67 0d 0d 49 6e | 20 74 68 69 73 20 62 6f |ring..In| this bo|
|000053b0| 6f 6b 2c 20 74 68 65 20 | 62 69 74 73 20 69 6e 20 |ok, the |bits in |
|000053c0| 61 20 33 32 2d 62 69 74 | 20 64 61 74 61 20 74 79 |a 32-bit| data ty|
|000053d0| 70 65 20 61 72 65 20 6e | 75 6d 62 65 72 65 64 20 |pe are n|umbered |
|000053e0| 30 20 74 6f 20 33 31 2c | 20 66 72 6f 6d 20 6c 65 |0 to 31,| from le|
|000053f0| 66 74 20 74 6f 20 72 69 | 67 68 74 2e 20 54 68 65 |ft to ri|ght. The|
|00005400| 20 6d 6f 73 74 20 73 69 | 67 6e 69 66 69 63 61 6e | most si|gnifican|
|00005410| 74 20 62 69 74 20 6f 66 | 20 61 20 33 32 2d 62 69 |t bit of| a 32-bi|
|00005420| 74 20 64 61 74 61 20 74 | 79 70 65 20 69 73 20 61 |t data t|ype is a|
|00005430| 64 64 72 65 73 73 65 64 | 20 61 73 20 62 69 74 20 |ddressed| as bit |
|00005440| 30 2c 20 61 6e 64 20 74 | 68 65 20 6c 65 61 73 74 |0, and t|he least|
|00005450| 20 73 69 67 6e 69 66 69 | 63 61 6e 74 20 62 69 74 | signifi|cant bit|
|00005460| 20 69 73 20 61 64 64 72 | 65 73 73 65 64 20 61 73 | is addr|essed as|
|00005470| 20 62 69 74 20 33 31 2e | 20 54 68 69 73 20 63 6f | bit 31.| This co|
|00005480| 6e 76 65 6e 74 69 6f 6e | 2c 20 69 6c 6c 75 73 74 |nvention|, illust|
|00005490| 72 61 74 65 64 20 69 6e | 20 46 69 67 75 72 65 20 |rated in| Figure |
|000054a0| 50 2d 32 2c 20 69 73 20 | 69 6e 20 61 63 63 6f 72 |P-2, is |in accor|
|000054b0| 64 61 6e 63 65 20 77 69 | 74 68 20 74 68 65 20 62 |dance wi|th the b|
|000054c0| 69 74 2d 6e 75 6d 62 65 | 72 69 6e 67 20 63 6f 6e |it-numbe|ring con|
|000054d0| 76 65 6e 74 69 6f 6e 73 | 20 75 73 65 64 20 62 79 |ventions| used by|
|000054e0| 20 4d 6f 74 6f 72 6f 6c | 61 20 69 6e 20 74 68 65 | Motorol|a in the|
|000054f0| 20 62 6f 6f 6b 73 20 64 | 6f 63 75 6d 65 6e 74 69 | books d|ocumenti|
|00005500| 6e 67 20 74 68 65 20 50 | 6f 77 65 72 50 43 20 66 |ng the P|owerPC f|
|00005510| 61 6d 69 6c 79 20 6f 66 | 20 6d 69 63 72 6f 70 72 |amily of| micropr|
|00005520| 6f 63 65 73 73 6f 72 73 | 20 28 66 6f 72 20 65 78 |ocessors| (for ex|
|00005530| 61 6d 70 6c 65 2c 20 74 | 68 65 20 50 6f 77 65 72 |ample, t|he Power|
|00005540| 50 43 20 36 30 31 20 52 | 49 53 43 20 4d 69 63 72 |PC 601 R|ISC Micr|
|00005550| 6f 70 72 6f 63 65 73 73 | 6f 72 20 55 73 65 72 d5 |oprocess|or User.|
|00005560| 73 20 4d 61 6e 75 61 6c | 29 2e 0d 0d 46 69 67 75 |s Manual|)...Figu|
|00005570| 72 65 20 50 2d 32 09 50 | 6f 77 65 72 50 43 20 62 |re P-2.P|owerPC b|
|00005580| 69 74 20 6e 75 6d 62 65 | 72 69 6e 67 0d 0d 49 6e |it numbe|ring..In|
|00005590| 20 61 64 64 69 74 69 6f | 6e 2c 20 74 68 65 72 65 | additio|n, there|
|000055a0| 20 61 72 65 20 64 69 66 | 66 65 72 65 6e 63 65 73 | are dif|ferences|
|000055b0| 20 62 65 74 77 65 65 6e | 20 36 38 30 78 30 20 61 | between| 680x0 a|
|000055c0| 6e 64 20 74 68 65 20 50 | 6f 77 65 72 50 43 20 74 |nd the P|owerPC t|
|000055d0| 65 72 6d 69 6e 6f 6c 6f | 67 79 20 74 6f 20 64 65 |erminolo|gy to de|
|000055e0| 73 63 72 69 62 65 20 74 | 68 65 20 73 69 7a 65 73 |scribe t|he sizes|
|000055f0| 20 6f 66 20 63 65 72 74 | 61 69 6e 20 6d 65 6d 6f | of cert|ain memo|
|00005600| 72 79 20 6f 70 65 72 61 | 6e 64 73 2c 20 61 73 20 |ry opera|nds, as |
|00005610| 73 68 6f 77 6e 20 69 6e | 20 54 61 62 6c 65 20 50 |shown in| Table P|
|00005620| 2d 31 2e 20 0d 54 61 62 | 6c 65 20 50 2d 31 09 53 |-1. .Tab|le P-1.S|
|00005630| 69 7a 65 73 20 6f 66 20 | 6d 65 6d 6f 72 79 20 6f |izes of |memory o|
|00005640| 70 65 72 61 6e 64 73 0d | 53 69 7a 65 09 36 38 30 |perands.|Size.680|
|00005650| 78 30 20 74 65 72 6d 69 | 6e 6f 6c 6f 67 79 09 50 |x0 termi|nology.P|
|00005660| 6f 77 65 72 50 43 20 74 | 65 72 6d 69 6e 6f 6c 6f |owerPC t|erminolo|
|00005670| 67 79 09 0d 38 20 62 69 | 74 73 09 42 79 74 65 09 |gy..8 bi|ts.Byte.|
|00005680| 42 79 74 65 09 0d 32 20 | 62 79 74 65 73 09 57 6f |Byte..2 |bytes.Wo|
|00005690| 72 64 09 48 61 6c 66 20 | 77 6f 72 64 09 0d 34 20 |rd.Half |word..4 |
|000056a0| 62 79 74 65 73 09 4c 6f | 6e 67 20 77 6f 72 64 09 |bytes.Lo|ng word.|
|000056b0| 57 6f 72 64 09 0d 38 20 | 62 79 74 65 73 09 4e 2f |Word..8 |bytes.N/|
|000056c0| 41 09 44 6f 75 62 6c 65 | 20 77 6f 72 64 09 0d 31 |A.Double| word..1|
|000056d0| 36 20 62 79 74 65 73 09 | 4e 2f 41 09 51 75 61 64 |6 bytes.|N/A.Quad|
|000056e0| 20 77 6f 72 64 09 0d 0d | 54 6f 20 61 76 6f 69 64 | word...|To avoid|
|000056f0| 20 63 6f 6e 66 75 73 69 | 6f 6e 2c 20 68 6f 77 65 | confusi|on, howe|
|00005700| 76 65 72 2c 20 74 68 69 | 73 20 62 6f 6f 6b 20 67 |ver, thi|s book g|
|00005710| 65 6e 65 72 61 6c 6c 79 | 20 75 73 65 73 20 62 79 |enerally| uses by|
|00005720| 74 65 73 20 74 6f 20 67 | 69 76 65 20 74 68 65 20 |tes to g|ive the |
|00005730| 73 69 7a 65 73 20 6f 66 | 20 6f 62 6a 65 63 74 73 |sizes of| objects|
|00005740| 20 69 6e 20 6d 65 6d 6f | 72 79 2e 0d 0d 0d 41 73 | in memo|ry....As|
|00005750| 73 65 6d 62 6c 79 2d 4c | 61 6e 67 75 61 67 65 20 |sembly-L|anguage |
|00005760| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 0d 0d 49 6e 73 |Informat|ion..Ins|
|00005770| 69 64 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 70 72 |ide Maci|ntosh pr|
|00005780| 65 73 65 6e 74 73 20 69 | 6e 66 6f 72 6d 61 74 69 |esents i|nformati|
|00005790| 6f 6e 20 61 62 6f 75 74 | 20 74 68 65 20 66 69 65 |on about| the fie|
|000057a0| 6c 64 73 20 6f 66 20 61 | 20 70 61 72 61 6d 65 74 |lds of a| paramet|
|000057b0| 65 72 20 62 6c 6f 63 6b | 20 69 6e 20 74 68 69 73 |er block| in this|
|000057c0| 20 66 6f 72 6d 61 74 3a | 0d 50 61 72 61 6d 65 74 | format:|.Paramet|
|000057d0| 65 72 20 62 6c 6f 63 6b | ab 09 69 6e 41 6e 64 4f |er block|..inAndO|
|000057e0| 75 74 09 48 61 6e 64 6c | 65 09 49 6e 70 75 74 2f |ut.Handl|e.Input/|
|000057f0| 6f 75 74 70 75 74 20 70 | 61 72 61 6d 65 74 65 72 |output p|arameter|
|00005800| 2e 09 0d ac 09 6f 75 74 | 70 75 74 31 09 50 74 72 |.....out|put1.Ptr|
|00005810| 09 4f 75 74 70 75 74 20 | 70 61 72 61 6d 65 74 65 |.Output |paramete|
|00005820| 72 2e 09 0d ae 09 69 6e | 70 75 74 31 09 50 74 72 |r.....in|put1.Ptr|
|00005830| 09 49 6e 70 75 74 20 70 | 61 72 61 6d 65 74 65 72 |.Input p|arameter|
|00005840| 2e 09 0d 0d 54 68 65 20 | 61 72 72 6f 77 20 69 6e |....The |arrow in|
|00005850| 20 74 68 65 20 66 61 72 | 2d 6c 65 66 74 20 63 6f | the far|-left co|
|00005860| 6c 75 6d 6e 20 69 6e 64 | 69 63 61 74 65 73 20 77 |lumn ind|icates w|
|00005870| 68 65 74 68 65 72 20 74 | 68 65 20 66 69 65 6c 64 |hether t|he field|
|00005880| 20 69 73 20 61 6e 20 69 | 6e 70 75 74 20 70 61 72 | is an i|nput par|
|00005890| 61 6d 65 74 65 72 2c 20 | 6f 75 74 70 75 74 20 70 |ameter, |output p|
|000058a0| 61 72 61 6d 65 74 65 72 | 2c 20 6f 72 20 62 6f 74 |arameter|, or bot|
|000058b0| 68 2e 20 59 6f 75 20 6d | 75 73 74 20 73 75 70 70 |h. You m|ust supp|
|000058c0| 6c 79 20 76 61 6c 75 65 | 73 20 66 6f 72 20 61 6c |ly value|s for al|
|000058d0| 6c 20 69 6e 70 75 74 20 | 70 61 72 61 6d 65 74 65 |l input |paramete|
|000058e0| 72 73 20 61 6e 64 20 69 | 6e 70 75 74 2f 6f 75 74 |rs and i|nput/out|
|000058f0| 70 75 74 20 70 61 72 61 | 6d 65 74 65 72 73 2e 20 |put para|meters. |
|00005900| 54 68 65 20 72 6f 75 74 | 69 6e 65 20 72 65 74 75 |The rout|ine retu|
|00005910| 72 6e 73 20 76 61 6c 75 | 65 73 20 69 6e 20 6f 75 |rns valu|es in ou|
|00005920| 74 70 75 74 20 70 61 72 | 61 6d 65 74 65 72 73 20 |tput par|ameters |
|00005930| 61 6e 64 20 69 6e 70 75 | 74 2f 6f 75 74 70 75 74 |and inpu|t/output|
|00005940| 20 70 61 72 61 6d 65 74 | 65 72 73 2e 0d 54 68 65 | paramet|ers..The|
|00005950| 20 73 65 63 6f 6e 64 20 | 63 6f 6c 75 6d 6e 20 73 | second |column s|
|00005960| 68 6f 77 73 20 74 68 65 | 20 66 69 65 6c 64 20 6e |hows the| field n|
|00005970| 61 6d 65 20 61 73 20 64 | 65 66 69 6e 65 64 20 69 |ame as d|efined i|
|00005980| 6e 20 74 68 65 20 4d 50 | 57 20 43 20 69 6e 74 65 |n the MP|W C inte|
|00005990| 72 66 61 63 65 20 66 69 | 6c 65 73 3b 20 74 68 65 |rface fi|les; the|
|000059a0| 20 74 68 69 72 64 20 63 | 6f 6c 75 6d 6e 20 69 6e | third c|olumn in|
|000059b0| 64 69 63 61 74 65 73 20 | 74 68 65 20 43 20 64 61 |dicates |the C da|
|000059c0| 74 61 20 74 79 70 65 20 | 6f 66 20 74 68 61 74 20 |ta type |of that |
|000059d0| 66 69 65 6c 64 2e 20 54 | 68 65 20 66 6f 75 72 74 |field. T|he fourt|
|000059e0| 68 20 63 6f 6c 75 6d 6e | 20 70 72 6f 76 69 64 65 |h column| provide|
|000059f0| 73 20 61 20 62 72 69 65 | 66 20 64 65 73 63 72 69 |s a brie|f descri|
|00005a00| 70 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 75 73 65 |ption of| the use|
|00005a10| 20 6f 66 20 74 68 65 20 | 66 69 65 6c 64 2e 20 46 | of the |field. F|
|00005a20| 6f 72 20 61 20 63 6f 6d | 70 6c 65 74 65 20 64 65 |or a com|plete de|
|00005a30| 73 63 72 69 70 74 69 6f | 6e 20 6f 66 20 65 61 63 |scriptio|n of eac|
|00005a40| 68 20 66 69 65 6c 64 2c | 20 73 65 65 20 74 68 65 |h field,| see the|
|00005a50| 20 64 69 73 63 75 73 73 | 69 6f 6e 20 74 68 61 74 | discuss|ion that|
|00005a60| 20 66 6f 6c 6c 6f 77 73 | 20 74 68 65 20 70 61 72 | follows| the par|
|00005a70| 61 6d 65 74 65 72 20 0d | 62 6c 6f 63 6b 20 6f 72 |ameter .|block or|
|00005a80| 20 74 68 65 20 64 65 73 | 63 72 69 70 74 69 6f 6e | the des|cription|
|00005a90| 20 6f 66 20 74 68 65 20 | 70 61 72 61 6d 65 74 65 | of the |paramete|
|00005aa0| 72 20 62 6c 6f 63 6b 20 | 69 6e 20 74 68 65 20 72 |r block |in the r|
|00005ab0| 65 66 65 72 65 6e 63 65 | 20 73 65 63 74 69 6f 6e |eference| section|
|00005ac0| 20 6f 66 20 0d 74 68 65 | 20 63 68 61 70 74 65 72 | of .the| chapter|
|00005ad0| 2e 0d 0d 44 65 76 65 6c | 6f 70 6d 65 6e 74 20 45 |...Devel|opment E|
|00005ae0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 0d 0d 54 68 65 20 |nvironme|nt..The |
|00005af0| 73 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 20 |system s|oftware |
|00005b00| 72 6f 75 74 69 6e 65 73 | 20 64 65 73 63 72 69 62 |routines| describ|
|00005b10| 65 64 20 69 6e 20 74 68 | 69 73 20 62 6f 6f 6b 20 |ed in th|is book |
|00005b20| 61 72 65 20 61 76 61 69 | 6c 61 62 6c 65 20 75 73 |are avai|lable us|
|00005b30| 69 6e 67 20 43 20 0d 6f | 72 20 61 73 73 65 6d 62 |ing C .o|r assemb|
|00005b40| 6c 79 2d 6c 61 6e 67 75 | 61 67 65 20 69 6e 74 65 |ly-langu|age inte|
|00005b50| 72 66 61 63 65 73 2e 20 | 48 6f 77 20 79 6f 75 20 |rfaces. |How you |
|00005b60| 61 63 63 65 73 73 20 74 | 68 65 73 65 20 72 6f 75 |access t|hese rou|
|00005b70| 74 69 6e 65 73 20 64 65 | 70 65 6e 64 73 20 0d 6f |tines de|pends .o|
|00005b80| 6e 20 74 68 65 20 64 65 | 76 65 6c 6f 70 6d 65 6e |n the de|velopmen|
|00005b90| 74 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 79 6f |t enviro|nment yo|
|00005ba0| 75 20 61 72 65 20 75 73 | 69 6e 67 2e 20 54 68 69 |u are us|ing. Thi|
|00005bb0| 73 20 62 6f 6f 6b 20 73 | 68 6f 77 73 20 73 79 73 |s book s|hows sys|
|00005bc0| 74 65 6d 20 73 6f 66 74 | 77 61 72 65 20 72 6f 75 |tem soft|ware rou|
|00005bd0| 74 69 6e 65 73 20 69 6e | 20 74 68 65 69 72 20 43 |tines in| their C|
|00005be0| 20 69 6e 74 65 72 66 61 | 63 65 20 75 73 69 6e 67 | interfa|ce using|
|00005bf0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 50 | the Mac|intosh P|
|00005c00| 72 6f 67 72 61 6d 6d 65 | 72 d5 73 20 57 6f 72 6b |rogramme|r.s Work|
|00005c10| 73 68 6f 70 20 28 4d 50 | 57 29 2e 0d 41 6c 6c 20 |shop (MP|W)..All |
|00005c20| 63 6f 64 65 20 6c 69 73 | 74 69 6e 67 73 20 69 6e |code lis|tings in|
|00005c30| 20 74 68 69 73 20 62 6f | 6f 6b 20 61 72 65 20 73 | this bo|ok are s|
|00005c40| 68 6f 77 6e 20 69 6e 20 | 43 20 28 65 78 63 65 70 |hown in |C (excep|
|00005c50| 74 20 66 6f 72 20 6c 69 | 73 74 69 6e 67 73 20 74 |t for li|stings t|
|00005c60| 68 61 74 20 64 65 73 63 | 72 69 62 65 20 72 65 73 |hat desc|ribe res|
|00005c70| 6f 75 72 63 65 73 2c 20 | 77 68 69 63 68 20 61 72 |ources, |which ar|
|00005c80| 65 20 73 68 6f 77 6e 20 | 69 6e 20 52 65 7a 2d 69 |e shown |in Rez-i|
|00005c90| 6e 70 75 74 20 66 6f 72 | 6d 61 74 29 2e 20 54 68 |nput for|mat). Th|
|00005ca0| 65 79 20 73 68 6f 77 20 | 6d 65 74 68 6f 64 73 20 |ey show |methods |
|00005cb0| 6f 66 20 75 73 69 6e 67 | 20 76 61 72 69 6f 75 73 |of using| various|
|00005cc0| 20 72 6f 75 74 69 6e 65 | 73 20 61 6e 64 20 69 6c | routine|s and il|
|00005cd0| 6c 75 73 74 72 61 74 65 | 20 74 65 63 68 6e 69 71 |lustrate| techniq|
|00005ce0| 75 65 73 20 66 6f 72 20 | 61 63 63 6f 6d 70 6c 69 |ues for |accompli|
|00005cf0| 73 68 69 6e 67 20 70 61 | 72 74 69 63 75 6c 61 72 |shing pa|rticular|
|00005d00| 20 74 61 73 6b 73 2e 20 | 41 6c 6c 20 63 6f 64 65 | tasks. |All code|
|00005d10| 20 6c 69 73 74 69 6e 67 | 73 20 68 61 76 65 20 62 | listing|s have b|
|00005d20| 65 65 6e 20 63 6f 6d 70 | 69 6c 65 64 20 61 6e 64 |een comp|iled and|
|00005d30| 2c 20 69 6e 20 6d 6f 73 | 74 20 63 61 73 65 73 2c |, in mos|t cases,|
|00005d40| 20 74 65 73 74 65 64 2e | 20 48 6f 77 65 76 65 72 | tested.| However|
|00005d50| 2c 20 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |, Apple |Computer|
|00005d60| 20 64 6f 65 73 20 6e 6f | 74 20 69 6e 74 65 6e 64 | does no|t intend|
|00005d70| 20 74 68 61 74 20 79 6f | 75 20 75 73 65 20 74 68 | that yo|u use th|
|00005d80| 65 73 65 20 63 6f 64 65 | 20 73 61 6d 70 6c 65 73 |ese code| samples|
|00005d90| 20 69 6e 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | in your| applica|
|00005da0| 74 69 6f 6e 2e 20 59 6f | 75 20 63 61 6e 20 66 69 |tion. Yo|u can fi|
|00005db0| 6e 64 20 74 68 65 20 6c | 6f 63 61 74 69 6f 6e 20 |nd the l|ocation |
|00005dc0| 6f 66 20 74 68 69 73 20 | 62 6f 6f 6b d5 73 20 63 |of this |book.s c|
|00005dd0| 6f 64 65 20 6c 69 73 74 | 69 6e 67 73 20 69 6e 20 |ode list|ings in |
|00005de0| 74 68 65 20 6c 69 73 74 | 20 6f 66 20 66 69 67 75 |the list| of figu|
|00005df0| 72 65 73 2c 20 74 61 62 | 6c 65 73 2c 20 61 6e 64 |res, tab|les, and|
|00005e00| 20 6c 69 73 74 69 6e 67 | 73 2e 0d 54 6f 20 6d 61 | listing|s..To ma|
|00005e10| 6b 65 20 74 68 65 20 63 | 6f 64 65 20 6c 69 73 74 |ke the c|ode list|
|00005e20| 69 6e 67 73 20 69 6e 20 | 74 68 69 73 20 62 6f 6f |ings in |this boo|
|00005e30| 6b 20 6d 6f 72 65 20 72 | 65 61 64 61 62 6c 65 2c |k more r|eadable,|
|00005e40| 20 6f 6e 6c 79 20 6c 69 | 6d 69 74 65 64 20 65 72 | only li|mited er|
|00005e50| 72 6f 72 20 68 61 6e 64 | 6c 69 6e 67 20 69 73 20 |ror hand|ling is |
|00005e60| 73 68 6f 77 6e 2e 20 59 | 6f 75 20 6e 65 65 64 20 |shown. Y|ou need |
|00005e70| 74 6f 20 64 65 76 65 6c | 6f 70 20 79 6f 75 72 20 |to devel|op your |
|00005e80| 6f 77 6e 20 74 65 63 68 | 6e 69 71 75 65 73 20 66 |own tech|niques f|
|00005e90| 6f 72 20 64 65 74 65 63 | 74 69 6e 67 20 61 6e 64 |or detec|ting and|
|00005ea0| 20 68 61 6e 64 6c 69 6e | 67 20 65 72 72 6f 72 73 | handlin|g errors|
|00005eb0| 2e 0d 54 68 69 73 20 62 | 6f 6f 6b 20 6f 63 63 61 |..This b|ook occa|
|00005ec0| 73 69 6f 6e 61 6c 6c 79 | 20 69 6c 6c 75 73 74 72 |sionally| illustr|
|00005ed0| 61 74 65 73 20 63 6f 6e | 63 65 70 74 73 20 62 79 |ates con|cepts by|
|00005ee0| 20 72 65 66 65 72 65 6e | 63 65 20 74 6f 20 61 20 | referen|ce to a |
|00005ef0| 73 61 6d 70 6c 65 20 61 | 70 70 6c 69 63 61 2d 0d |sample a|pplica-.|
|00005f00| 74 69 6f 6e 20 63 61 6c | 6c 65 64 20 53 75 72 66 |tion cal|led Surf|
|00005f10| 57 72 69 74 65 72 20 61 | 6e 64 20 61 20 73 61 6d |Writer a|nd a sam|
|00005f20| 70 6c 65 20 69 6d 70 6f | 72 74 20 6c 69 62 72 61 |ple impo|rt libra|
|00005f30| 72 79 20 63 61 6c 6c 65 | 64 20 53 75 72 66 54 6f |ry calle|d SurfTo|
|00005f40| 6f 6c 73 3b 20 74 68 65 | 73 65 20 61 72 65 20 6e |ols; the|se are n|
|00005f50| 6f 74 20 61 63 74 75 61 | 6c 20 70 72 6f 64 75 63 |ot actua|l produc|
|00005f60| 74 73 20 6f 66 20 41 70 | 70 6c 65 20 43 6f 6d 70 |ts of Ap|ple Comp|
|00005f70| 75 74 65 72 2c 20 49 6e | 63 2e 0d 0d 0d 46 6f 72 |uter, In|c....For|
|00005f80| 20 4d 6f 72 65 20 49 6e | 66 6f 72 6d 61 74 69 6f | More In|formatio|
|00005f90| 6e 0d 0d 41 50 44 41 20 | 69 73 20 41 70 70 6c 65 |n..APDA |is Apple|
|00005fa0| d5 73 20 77 6f 72 6c 64 | 77 69 64 65 20 73 6f 75 |.s world|wide sou|
|00005fb0| 72 63 65 20 66 6f 72 20 | 6f 76 65 72 20 74 68 72 |rce for |over thr|
|00005fc0| 65 65 20 68 75 6e 64 72 | 65 64 20 64 65 76 65 6c |ee hundr|ed devel|
|00005fd0| 6f 70 6d 65 6e 74 20 74 | 6f 6f 6c 73 2c 20 74 65 |opment t|ools, te|
|00005fe0| 63 68 6e 69 63 61 6c 20 | 72 65 73 6f 75 72 63 65 |chnical |resource|
|00005ff0| 73 2c 20 74 72 61 69 6e | 69 6e 67 20 70 72 6f 64 |s, train|ing prod|
|00006000| 75 63 74 73 2c 20 61 6e | 64 20 69 6e 66 6f 72 6d |ucts, an|d inform|
|00006010| 61 74 69 6f 6e 20 66 6f | 72 20 61 6e 79 6f 6e 65 |ation fo|r anyone|
|00006020| 20 69 6e 74 65 72 65 73 | 74 65 64 20 69 6e 20 64 | interes|ted in d|
|00006030| 65 76 65 6c 6f 70 69 6e | 67 20 61 70 70 6c 69 63 |evelopin|g applic|
|00006040| 61 74 69 6f 6e 73 20 6f | 6e 20 41 70 70 6c 65 20 |ations o|n Apple |
|00006050| 70 6c 61 74 66 6f 72 6d | 73 2e 20 43 75 73 74 6f |platform|s. Custo|
|00006060| 6d 65 72 73 20 72 65 63 | 65 69 76 65 20 74 68 65 |mers rec|eive the|
|00006070| 20 71 75 61 72 74 65 72 | 6c 79 20 41 50 44 41 20 | quarter|ly APDA |
|00006080| 54 6f 6f 6c 73 20 43 61 | 74 61 6c 6f 67 20 66 65 |Tools Ca|talog fe|
|00006090| 61 74 75 72 69 6e 67 20 | 61 6c 6c 20 63 75 72 72 |aturing |all curr|
|000060a0| 65 6e 74 20 76 65 72 73 | 69 6f 6e 73 20 6f 66 20 |ent vers|ions of |
|000060b0| 41 70 70 6c 65 20 64 65 | 76 65 6c 6f 70 6d 65 6e |Apple de|velopmen|
|000060c0| 74 20 74 6f 6f 6c 73 20 | 61 6e 64 20 74 68 65 20 |t tools |and the |
|000060d0| 6d 6f 73 74 20 70 6f 70 | 75 6c 61 72 20 74 68 69 |most pop|ular thi|
|000060e0| 72 64 2d 70 61 72 74 79 | 20 64 65 76 65 6c 6f 70 |rd-party| develop|
|000060f0| 6d 65 6e 74 20 74 6f 6f | 6c 73 2e 20 4f 72 64 65 |ment too|ls. Orde|
|00006100| 72 69 6e 67 20 69 73 20 | 65 61 73 79 3b 20 74 68 |ring is |easy; th|
|00006110| 65 72 65 20 61 72 65 20 | 6e 6f 20 6d 65 6d 62 65 |ere are |no membe|
|00006120| 72 73 68 69 70 20 66 65 | 65 73 2c 20 61 6e 64 20 |rship fe|es, and |
|00006130| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 66 6f 72 6d |applicat|ion form|
|00006140| 73 20 61 72 65 20 6e 6f | 74 20 72 65 71 75 69 72 |s are no|t requir|
|00006150| 65 64 20 66 6f 72 20 6d | 6f 73 74 20 6f 66 20 6f |ed for m|ost of o|
|00006160| 75 72 20 70 72 6f 64 75 | 63 74 73 2e 20 41 50 44 |ur produ|cts. APD|
|00006170| 41 20 6f 66 66 65 72 73 | 20 63 6f 6e 76 65 6e 69 |A offers| conveni|
|00006180| 65 6e 74 20 70 61 79 6d | 65 6e 74 20 61 6e 64 20 |ent paym|ent and |
|00006190| 73 68 69 70 70 69 6e 67 | 20 6f 70 74 69 6f 6e 73 |shipping| options|
|000061a0| 2c 20 69 6e 63 6c 75 64 | 69 6e 67 20 73 69 74 65 |, includ|ing site|
|000061b0| 20 6c 69 63 65 6e 73 69 | 6e 67 2e 0d 54 6f 20 6f | licensi|ng..To o|
|000061c0| 72 64 65 72 20 70 72 6f | 64 75 63 74 73 20 6f 72 |rder pro|ducts or|
|000061d0| 20 74 6f 20 72 65 71 75 | 65 73 74 20 61 20 63 6f | to requ|est a co|
|000061e0| 6d 70 6c 69 6d 65 6e 74 | 61 72 79 20 63 6f 70 79 |mpliment|ary copy|
|000061f0| 20 6f 66 20 74 68 65 20 | 41 50 44 41 20 54 6f 6f | of the |APDA Too|
|00006200| 6c 73 20 43 61 74 61 6c | 6f 67 2c 20 63 6f 6e 74 |ls Catal|og, cont|
|00006210| 61 63 74 20 0d 41 50 44 | 41 20 0d 41 70 70 6c 65 |act .APD|A .Apple|
|00006220| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 20 | Compute|r, Inc. |
|00006230| 0d 50 2e 4f 2e 20 42 6f | 78 20 33 31 39 0d 42 75 |.P.O. Bo|x 319.Bu|
|00006240| 66 66 61 6c 6f 2c 20 4e | 59 20 31 34 32 30 37 2d |ffalo, N|Y 14207-|
|00006250| 30 33 31 39 54 65 6c 65 | 70 68 6f 6e 65 09 38 30 |0319Tele|phone.80|
|00006260| 30 2d 32 38 32 2d 32 37 | 33 32 20 28 55 6e 69 74 |0-282-27|32 (Unit|
|00006270| 65 64 20 53 74 61 74 65 | 73 29 0d 38 30 30 2d 36 |ed State|s).800-6|
|00006280| 33 37 2d 30 30 32 39 20 | 28 43 61 6e 61 64 61 29 |37-0029 |(Canada)|
|00006290| 0d 37 31 36 2d 38 37 31 | 2d 36 35 35 35 20 28 49 |.716-871|-6555 (I|
|000062a0| 6e 74 65 72 6e 61 74 69 | 6f 6e 61 6c 29 09 0d 46 |nternati|onal)..F|
|000062b0| 61 78 09 37 31 36 2d 38 | 37 31 2d 36 35 31 31 20 |ax.716-8|71-6511 |
|000062c0| 09 0d 41 70 70 6c 65 4c | 69 6e 6b 09 41 50 44 41 |..AppleL|ink.APDA|
|000062d0| 09 0d 41 6d 65 72 69 63 | 61 20 4f 6e 6c 69 6e 65 |..Americ|a Online|
|000062e0| 09 41 50 44 41 09 0d 43 | 6f 6d 70 75 53 65 72 76 |.APDA..C|ompuServ|
|000062f0| 65 09 37 36 36 36 36 2c | 32 34 30 35 09 0d 49 6e |e.76666,|2405..In|
|00006300| 74 65 72 6e 65 74 09 41 | 50 44 41 40 61 70 70 6c |ternet.A|PDA@appl|
|00006310| 65 6c 69 6e 6b 2e 61 70 | 70 6c 65 2e 63 6f 6d 09 |elink.ap|ple.com.|
|00006320| 0d 0d 49 66 20 79 6f 75 | 20 70 72 6f 76 69 64 65 |..If you| provide|
|00006330| 20 63 6f 6d 6d 65 72 63 | 69 61 6c 20 70 72 6f 64 | commerc|ial prod|
|00006340| 75 63 74 73 20 61 6e 64 | 20 73 65 72 76 69 63 65 |ucts and| service|
|00006350| 73 2c 20 63 61 6c 6c 20 | 34 30 38 2d 39 37 34 2d |s, call |408-974-|
|00006360| 34 38 39 37 20 66 6f 72 | 20 69 6e 66 6f 72 6d 61 |4897 for| informa|
|00006370| 74 69 6f 6e 20 6f 6e 20 | 74 68 65 20 64 65 76 65 |tion on |the deve|
|00006380| 6c 6f 70 65 72 20 73 75 | 70 70 6f 72 74 20 70 72 |loper su|pport pr|
|00006390| 6f 67 72 61 6d 73 20 61 | 76 61 69 6c 61 62 6c 65 |ograms a|vailable|
|000063a0| 20 66 72 6f 6d 20 41 70 | 70 6c 65 2e 0d 46 6f 72 | from Ap|ple..For|
|000063b0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|000063c0| 72 65 67 69 73 74 65 72 | 69 6e 67 20 73 69 67 6e |register|ing sign|
|000063d0| 61 74 75 72 65 73 2c 20 | 66 69 6c 65 20 74 79 70 |atures, |file typ|
|000063e0| 65 73 2c 20 41 70 70 6c | 65 20 65 76 65 6e 74 73 |es, Appl|e events|
|000063f0| 2c 20 61 6e 64 20 6f 74 | 68 65 72 20 74 65 63 68 |, and ot|her tech|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.